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

Canvas creator creating a canvas with a paint only simple rectangle fill and line color. More...

Inheritance diagram for RectangleCanvasCreator:
CanvasCreator

Public Member Functions

Canvas createCanvas (Point size)
 Create canvas for a specific widget size. More...
 
Color getColorFill ()
 Fill color. More...
 
Color getColorLine ()
 Line color or null to use fill color. More...
 
RectangleCanvasCreator new ()
 Create canvas creator. More...
 
RectangleCanvasCreator new (Color colorFill)
 Create canvas creator. More...
 
RectangleCanvasCreator new (Color colorFill, Color colorLine)
 Create canvas creator. More...
 
void setColorFill (Color color)
 Set fill color. More...
 
void setColorLine (Color color)
 Set line color or null to use fill color. More...
 

Detailed Description

Canvas creator creating a canvas with a paint only simple rectangle fill and line color.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ createCanvas()

Canvas createCanvas ( Point  size)

Create canvas for a specific widget size.

Implements CanvasCreator.

§ getColorFill()

Color getColorFill ( )

Fill color.

§ getColorLine()

Color getColorLine ( )

Line color or null to use fill color.

§ new() [1/3]

Create canvas creator.

§ new() [2/3]

RectangleCanvasCreator new ( Color  colorFill)

Create canvas creator.

§ new() [3/3]

RectangleCanvasCreator new ( Color  colorFill,
Color  colorLine 
)

Create canvas creator.

§ setColorFill()

void setColorFill ( Color  color)

Set fill color.

§ setColorLine()

void setColorLine ( Color  color)

Set line color or null to use fill color.


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