Drag[en]gine Script Module DragonScript
1.23
|
Interface able to create canvas for widgets. More...
Public Member Functions | |
CanvasCreator | copyCanvasCreator () |
Create copy of canvas creator. More... | |
Canvas | createCanvas (Point size) |
Create canvas for a specific widget size. More... | |
void | setParameter (String name, Object value) |
Set parameter. More... | |
Interface able to create canvas for widgets.
Canvas creators are used to implement the graphic representation of widgets. Allows replacing the look of widgets using GuiTheme.
CanvasCreator Dragengine.Gui.CanvasCreators.CanvasCreator.copyCanvasCreator | ( | ) |
Create copy of canvas creator.
Implemented in Dragengine.Gui.CanvasCreators.RectangleCanvasCreator, Dragengine.Gui.CanvasCreators.ImageCanvasCreator, Dragengine.Gui.CanvasCreators.ImageBorderCanvasCreator, Dragengine.Gui.CanvasCreators.DefaultCanvasCreator, Dragengine.Gui.CanvasCreators.CombinedCanvasCreator, and Dragengine.Gui.CanvasCreators.BevelCanvasCreator.
Create canvas for a specific widget size.
Implemented in Dragengine.Gui.CanvasCreators.RectangleCanvasCreator, Dragengine.Gui.CanvasCreators.ImageCanvasCreator, Dragengine.Gui.CanvasCreators.ImageBorderCanvasCreator, Dragengine.Gui.CanvasCreators.DefaultCanvasCreator, Dragengine.Gui.CanvasCreators.CombinedCanvasCreator, and Dragengine.Gui.CanvasCreators.BevelCanvasCreator.
void Dragengine.Gui.CanvasCreators.CanvasCreator.setParameter | ( | String | name, |
Object | value | ||
) |
Set parameter.
Implemented in Dragengine.Gui.CanvasCreators.RectangleCanvasCreator, Dragengine.Gui.CanvasCreators.ImageCanvasCreator, Dragengine.Gui.CanvasCreators.ImageBorderCanvasCreator, Dragengine.Gui.CanvasCreators.DefaultCanvasCreator, Dragengine.Gui.CanvasCreators.CombinedCanvasCreator, and Dragengine.Gui.CanvasCreators.BevelCanvasCreator.