Drag[en]gine Script Module DragonScript
1.23
|
Canvas creator creating a single image canvas. More...
Public Member Functions | |
CanvasCreator | copyCanvasCreator () |
Create copy of canvas creator. More... | |
Canvas | createCanvas (Point size) |
Create canvas for a specific widget size. More... | |
ColorMatrix | getColorMatrix () |
Color matrix to use for created canvas or null to use none. More... | |
Image | getImage () |
Image. More... | |
ImageCanvasCreator | new () |
Create canvas creator. More... | |
ImageCanvasCreator | new (Image image) |
Create canvas creator. More... | |
ImageCanvasCreator | new (ImageCanvasCreator creator) |
Create copy of canvas creator. More... | |
void | setColorMatrix (ColorMatrix colorMatrix) |
Set color matrix to use for created canvas or null to use none. More... | |
void | setImage (Image image) |
Set image. More... | |
void | setParameter (String name, Object value) |
Set parameter. More... | |
Public Member Functions inherited from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator | |
DefaultCanvasCreator | new (DefaultCanvasCreator creator) |
Create copy of canvas creator. More... | |
Canvas creator creating a single image canvas.
Creates an image canvas with an image stretched to fit the entire widget.
CanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.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.
ColorMatrix Dragengine.Gui.CanvasCreators.ImageCanvasCreator.getColorMatrix | ( | ) |
Color matrix to use for created canvas or null to use none.
ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new | ( | ) |
Create canvas creator.
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.
ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new | ( | Image | image | ) |
Create canvas creator.
ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new | ( | ImageCanvasCreator | creator | ) |
Create copy of canvas creator.
void Dragengine.Gui.CanvasCreators.ImageCanvasCreator.setColorMatrix | ( | ColorMatrix | colorMatrix | ) |
Set color matrix to use for created canvas or null to use none.
void Dragengine.Gui.CanvasCreators.ImageCanvasCreator.setImage | ( | Image | image | ) |
Set image.
void Dragengine.Gui.CanvasCreators.ImageCanvasCreator.setParameter | ( | String | name, |
Object | value | ||
) |
Set parameter.
Supported parameters: | name | value | Setter | | image | Image | setImage | | colorMatrix | ColorMatrix | setColorMatrix |
Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.