Drag[en]gine Script Module DragonScript Script API  1.0
ImageCanvasCreator Class Reference

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

Inheritance diagram for ImageCanvasCreator:
DefaultCanvasCreator 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 DefaultCanvasCreator
CanvasCreator copyCanvasCreator ()
 Create copy of canvas creator. More...
 
Canvas createCanvas (Point size)
 Create canvas for a specific widget size. More...
 
DefaultCanvasCreator new ()
 Create canvas creator. More...
 
DefaultCanvasCreator new (DefaultCanvasCreator creator)
 Create copy of canvas creator. More...
 
void setParameter (String name, Object value)
 Set parameter. 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 copyCanvasCreator ( )

Create copy of canvas creator.

Implements CanvasCreator.

◆ createCanvas()

Canvas createCanvas ( Point  size)

Create canvas for a specific widget size.

Implements CanvasCreator.

◆ getColorMatrix()

ColorMatrix getColorMatrix ( )

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

◆ getImage()

Image getImage ( )

Image.

◆ new() [1/3]

Create canvas creator.

◆ new() [2/3]

ImageCanvasCreator new ( Image  image)

Create canvas creator.

◆ new() [3/3]

Create copy of canvas creator.

◆ setColorMatrix()

void setColorMatrix ( ColorMatrix  colorMatrix)

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

◆ setImage()

void setImage ( Image  image)

Set image.

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

Supported parameters: | name | value | Setter | | image | Image | setImage | | colorMatrix | ColorMatrix | setColorMatrix |

Implements CanvasCreator.


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