|
Drag[en]gine Script Module DragonScript 1.32.1
|
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. | |
| Canvas | createCanvas (Point size) |
| Create canvas for a specific widget size. | |
| Color | getColorFill () |
| Fill color. | |
| Color | getColorLine () |
| Line color or null to use fill color. | |
| float | getThickness () |
| Line thickness. | |
| RectangleCanvasCreator | new () |
| Create canvas creator. | |
| RectangleCanvasCreator | new (Color colorFill) |
| Create canvas creator. | |
| RectangleCanvasCreator | new (Color colorFill, Color colorLine) |
| Create canvas creator. | |
| RectangleCanvasCreator | new (RectangleCanvasCreator creator) |
| Create copy of canvas creator. | |
| void | setColorFill (Color color) |
| Set fill color. | |
| void | setColorLine (Color color) |
| Set line color or null to use fill color. | |
| void | setParameter (String name, Object value) |
| Set parameter. | |
| void | setThickness (float thickness) |
| Set line thickness. | |
Public Member Functions inherited from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator | |
| DefaultCanvasCreator | new (DefaultCanvasCreator creator) |
| Create copy of canvas creator. | |
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.
| Canvas Dragengine.Gui.CanvasCreators.RectangleCanvasCreator.createCanvas | ( | Point | size | ) |
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.