Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.CanvasCreators.ImageCanvasCreator Class Reference

Canvas creator creating a single image canvas. More...

Inheritance diagram for Dragengine.Gui.CanvasCreators.ImageCanvasCreator:
Dragengine.Gui.CanvasCreators.DefaultCanvasCreator Dragengine.Gui.CanvasCreators.CanvasCreator

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...
 

Detailed Description

Canvas creator creating a single image canvas.

Creates an image canvas with an image stretched to fit the entire widget.

Member Function Documentation

◆ copyCanvasCreator()

CanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.copyCanvasCreator ( )

Create copy of canvas creator.

Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.

◆ createCanvas()

Canvas Dragengine.Gui.CanvasCreators.ImageCanvasCreator.createCanvas ( Point  size)

Create canvas for a specific widget size.

Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.

◆ getColorMatrix()

ColorMatrix Dragengine.Gui.CanvasCreators.ImageCanvasCreator.getColorMatrix ( )

Color matrix to use for created canvas or null to use none.

◆ getImage()

Image Dragengine.Gui.CanvasCreators.ImageCanvasCreator.getImage ( )

◆ new() [1/3]

ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new ( )

Create canvas creator.

Reimplemented from Dragengine.Gui.CanvasCreators.DefaultCanvasCreator.

◆ new() [2/3]

ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new ( Image  image)

Create canvas creator.

◆ new() [3/3]

ImageCanvasCreator Dragengine.Gui.CanvasCreators.ImageCanvasCreator.new ( ImageCanvasCreator  creator)

Create copy of canvas creator.

◆ setColorMatrix()

void Dragengine.Gui.CanvasCreators.ImageCanvasCreator.setColorMatrix ( ColorMatrix  colorMatrix)

Set color matrix to use for created canvas or null to use none.

◆ setImage()

void Dragengine.Gui.CanvasCreators.ImageCanvasCreator.setImage ( Image  image)

Set image.

◆ setParameter()

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.


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