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:
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...
 
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 (BevelCanvasCreator creator)
 Create copy of 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...
 
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 canvas with a paint only simple bevel border.

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.

◆ 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]

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

◆ setParameter()

void setParameter ( String  name,
Object  value 
)

Set parameter.

Supported parameters: | name | value | Setter | | colorHilight | Color | setColorHilight | | colorShadow | Color | setColorShadow | | colorBackground | Color | setColorBackground | | colorMatrix | ColorMatrix | setColorMatrix |

Implements CanvasCreator.


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