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:
CanvasCreator

Public Member Functions

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

Detailed Description

Canvas creator creating a single image canvas.

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

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ 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/2]

Create canvas creator.

§ new() [2/2]

ImageCanvasCreator new ( Image  image)

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


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