Dgs-dximage: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Thisdp (talk | contribs)
Created page with "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=..."
 
Thisdp (talk | contribs)
Line 14: Line 14:


===color===
===color===
The color of image.
The color which can be translated by [[tocolor]] of the image.
<syntaxhighlight lang="lua">dgsSetProperty(image,"color",color)</syntaxhighlight>
<syntaxhighlight lang="lua">dgsSetProperty(image,"color",color)</syntaxhighlight>
*'''color''' : An integer of the color which can be transformed by [[tocolor]].
*'''color''' : An integer of the color of the image.


==See Also==
==See Also==
{{DGSPROPERTIES}}
{{DGSPROPERTIES}}

Revision as of 14:52, 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.

See Also

General Properties

Unique Properties For DGS Core Elements

Extra Properties For DGS Plugins