Dgs-dximage: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (→color)  | 
				|||
| Line 17: | Line 17: | ||
<syntaxhighlight lang="lua">dgsSetProperty(image,"color",color)</syntaxhighlight>  | <syntaxhighlight lang="lua">dgsSetProperty(image,"color",color)</syntaxhighlight>  | ||
*'''color''' : An integer of the color of the image.  | *'''color''' : An integer of the color of the image.  | ||
===sideColor===  | |||
The color which can be translated by [[tocolor]] of the image.(sideSize should be changed to enable border)  | |||
<syntaxhighlight lang="lua">dgsSetProperty(image,"sideColor",color)</syntaxhighlight>  | |||
*'''color''' : An integer of the color of the '''border''' of the image.  | |||
===sideSize===  | |||
The size of the border of the image.(sideColor should be changed to enable border)  | |||
<syntaxhighlight lang="lua">dgsSetProperty(image,"sideSize",size)</syntaxhighlight>  | |||
*'''size''' : A float of the size of the border of the image.  | |||
===sideState===  | |||
The state of the border.(in/out/center)  | |||
<syntaxhighlight lang="lua">dgsSetProperty(image,"sideState",state)</syntaxhighlight>  | |||
*'''state''' : A string of the state of the border which can be  | |||
**in  | |||
**out  | |||
**center  | |||
==See Also==  | ==See Also==  | ||
{{DGSPROPERTIES}}  | {{DGSPROPERTIES}}  | ||
Revision as of 14:58, 12 February 2018
DGS Properties is always used to change the gui style and make it more fantastic.
This page shows the properties of dgs-dximage that you could use.
Main Functions
Properties
image
This is equivalent to dgsImageSetImage/dgsImageGetImage.
dgsSetProperty(image,"image",texture)
- texture : A material element (texture/shader/screen source/render target) of the image.
 
color
The color which can be translated by tocolor of the image.
dgsSetProperty(image,"color",color)
- color : An integer of the color of the image.
 
sideColor
The color which can be translated by tocolor of the image.(sideSize should be changed to enable border)
dgsSetProperty(image,"sideColor",color)
- color : An integer of the color of the border of the image.
 
sideSize
The size of the border of the image.(sideColor should be changed to enable border)
dgsSetProperty(image,"sideSize",size)
- size : A float of the size of the border of the image.
 
sideState
The state of the border.(in/out/center)
dgsSetProperty(image,"sideState",state)
- state : A string of the state of the border which can be
- in
 - out
 - center
 
 
See Also
General Properties
Unique Properties For DGS Core Elements
- dgs-dx3dinterface
 - dgs-dx3dimage
 - dgs-dx3dtext
 - dgs-dx3dline
 - dgs-dxbutton
 - dgs-dxcheckbox
 - dgs-dxcombobox
 - dgs-dxdetectarea
 - dgs-dxedit
 - dgs-dxgridlist
 - dgs-dximage
 - dgs-dxlabel
 - dgs-dxline
 - dgs-dxmemo
 - dgs-dxprogressbar
 - dgs-dxradiobutton
 - dgs-dxscrollbar
 - dgs-dxscrollpane
 - dgs-dxselector
 - dgs-dxswitchbutton
 - dgs-dxtabpanel
 - dgs-dxtab
 - dgs-dxwindow