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

Canvas creator creating a canvas with a paint only simple bevel border. More...

Inheritance diagram for BevelCanvasCreator:
CanvasCreator

Public Member Functions

Canvas createCanvas (Point size)
 Create canvas for a specific widget size. More...
 
Color getColorBackground ()
 Background color. More...
 
Color getColorHilight ()
 Hilight color. More...
 
ColorMatrix getColorMatrix ()
 Color matrix to use for created canvas or null to use none. More...
 
Color getColorShadow ()
 Shadow color. More...
 
BevelCanvasCreator new ()
 Create canvas creator. More...
 
BevelCanvasCreator new (Color colorHilight, Color colorShadow, Color colorBackground)
 Create canvas creator. More...
 
void setColorBackground (Color color)
 Set background color. More...
 
void setColorHilight (Color color)
 Set hilight color. More...
 
void setColorMatrix (ColorMatrix colorMatrix)
 Set color matrix to use for created canvas or null to use none. More...
 
void setColorShadow (Color color)
 Set shadow color. More...
 

Detailed Description

Canvas creator creating a canvas with a paint only simple bevel border.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ createCanvas()

Canvas createCanvas ( Point  size)

Create canvas for a specific widget size.

Implements CanvasCreator.

§ getColorBackground()

Color getColorBackground ( )

Background color.

§ getColorHilight()

Color getColorHilight ( )

Hilight color.

§ getColorMatrix()

ColorMatrix getColorMatrix ( )

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

§ getColorShadow()

Color getColorShadow ( )

Shadow color.

§ new() [1/2]

Create canvas creator.

§ new() [2/2]

BevelCanvasCreator new ( Color  colorHilight,
Color  colorShadow,
Color  colorBackground 
)

Create canvas creator.

§ setColorBackground()

void setColorBackground ( Color  color)

Set background color.

§ setColorHilight()

void setColorHilight ( Color  color)

Set hilight color.

§ setColorMatrix()

void setColorMatrix ( ColorMatrix  colorMatrix)

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

§ setColorShadow()

void setColorShadow ( Color  color)

Set shadow color.


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