Drag[en]gine Script Module DragonScript  1.23
Dragengine.Utils.ConstructedDynamicSkinProperty Class Reference

Construct dynamic skin item property. More...

Inheritance diagram for Dragengine.Utils.ConstructedDynamicSkinProperty:

Public Member Functions

Canvas getCanvas ()
 Created canvas or null. More...
 
Color getColor ()
 Color to sue. More...
 
Image getImage ()
 Image to sue. More...
 
String getName ()
 Texture property name. More...
 
ConstructedDynamicSkinProperty new (String name, Color color)
 Create constructed dynamic skin item property. More...
 
ConstructedDynamicSkinProperty new (String name, float value)
 Create constructed dynamic skin item property. More...
 
ConstructedDynamicSkinProperty new (String name, Image image)
 Create constructed dynamic skin item property. More...
 
void setCanvas (Canvas canvas)
 Set created canvas or null. More...
 
void setColor (Color color)
 Set color to sue. More...
 

Detailed Description

Construct dynamic skin item property.

Defines the image to use for a texture property. Stores also the created canvas if the parent ConstructedDynamicSkinItem is placed in a ConstructedDynamicSkin.

Once created the property is immutable except for the canvas which has to be only modified by ConstructedDynamicSkin.

Member Function Documentation

◆ getCanvas()

Canvas Dragengine.Utils.ConstructedDynamicSkinProperty.getCanvas ( )

Created canvas or null.

◆ getColor()

Color Dragengine.Utils.ConstructedDynamicSkinProperty.getColor ( )

Color to sue.

◆ getImage()

Image Dragengine.Utils.ConstructedDynamicSkinProperty.getImage ( )

Image to sue.

◆ getName()

String Dragengine.Utils.ConstructedDynamicSkinProperty.getName ( )

Texture property name.

◆ new() [1/3]

ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new ( String  name,
Color  color 
)

Create constructed dynamic skin item property.

◆ new() [2/3]

ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new ( String  name,
float  value 
)

Create constructed dynamic skin item property.

◆ new() [3/3]

ConstructedDynamicSkinProperty Dragengine.Utils.ConstructedDynamicSkinProperty.new ( String  name,
Image  image 
)

Create constructed dynamic skin item property.

◆ setCanvas()

void Dragengine.Utils.ConstructedDynamicSkinProperty.setCanvas ( Canvas  canvas)

Set created canvas or null.

◆ setColor()

void Dragengine.Utils.ConstructedDynamicSkinProperty.setColor ( Color  color)

Set color to sue.


The documentation for this class was generated from the following file: