Drag[en]gine Script Module DragonScript
1.23
|
Canvas creator creating a canvas with a paint only simple rectangle fill and line color. More...
Public Member Functions | |
CanvasCreator | copyCanvasCreator () |
Create copy of canvas creator. More... | |
Canvas | createCanvas (Point size) |
Create canvas for a specific widget size. More... | |
Color | getColorFill () |
Fill color. More... | |
Color | getColorLine () |
Line color or null to use fill color. More... | |
float | getThickness () |
Line thickness. More... | |
RectangleCanvasCreator | new () |
Create canvas creator. More... | |
RectangleCanvasCreator | new (Color colorFill) |
Create canvas creator. More... | |
RectangleCanvasCreator | new (Color colorFill, Color colorLine) |
Create canvas creator. More... | |
RectangleCanvasCreator | new (RectangleCanvasCreator creator) |
Create copy of canvas creator. More... | |
void | setColorFill (Color color) |
Set fill color. More... | |
void | setColorLine (Color color) |
Set line color or null to use fill color. More... | |
void | setParameter (String name, Object value) |
Set parameter. More... | |
void | setThickness (float thickness) |
Set line thickness. More... | |
Public Member Functions inherited from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator | |
DefaultCanvasCreator | new (DefaultCanvasCreator creator) |
Create copy of canvas creator. More... | |
Canvas creator creating a canvas with a paint only simple rectangle fill and line color.
CanvasCreator Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.copyCanvasCreator | ( | ) |
Create copy of canvas creator.
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.
Create canvas for a specific widget size.
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.
Color Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.getColorFill | ( | ) |
Fill color.
Color Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.getColorLine | ( | ) |
Line color or null to use fill color.
float Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.getThickness | ( | ) |
Line thickness.
RectangleCanvasCreator Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.new | ( | ) |
Create canvas creator.
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.
RectangleCanvasCreator Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.new | ( | Color | colorFill | ) |
Create canvas creator.
RectangleCanvasCreator Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.new | ( | Color | colorFill, |
Color | colorLine | ||
) |
Create canvas creator.
RectangleCanvasCreator Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.new | ( | RectangleCanvasCreator | creator | ) |
Create copy of canvas creator.
void Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.setColorFill | ( | Color | color | ) |
Set fill color.
void Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.setColorLine | ( | Color | color | ) |
Set line color or null to use fill color.
void Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.setParameter | ( | String | name, |
Object | value | ||
) |
Set parameter.
Supported parameters: | name | value | Setter | | colorFill | Color | setColorFill | | colorLine | Color | setColorLine | | thickness | float | setThickness |
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.
void Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.setThickness | ( | float | thickness | ) |
Set line thickness.