Drag[en]gine Script Module DragonScript Script API  1.0
EtchedBorder Class Reference
Inheritance diagram for EtchedBorder:
TwoColorBorder DefaultBorder Border

Public Member Functions

BorderSize getBorderSize ()
 
EtchedBorder new ()
 
EtchedBorder new (Color colorHilight, Color colorShadow)
 
EtchedBorder new (bool raised)
 
EtchedBorder new (bool raised, Color colorHilight, Color colorShadow)
 
void updateCanvas ()
 
- Public Member Functions inherited from TwoColorBorder
Color getColorHilight ()
 
Color getColorShadow ()
 
bool getRaised ()
 
TwoColorBorder new ()
 
TwoColorBorder new (Color colorHilight, Color colorShadow)
 
TwoColorBorder new (bool raised)
 
TwoColorBorder new (bool raised, Color colorHilight, Color colorShadow)
 
void setColorHilight (Color color)
 
void setColorShadow (Color color)
 
void setRaised (bool raised)
 
- Public Member Functions inherited from DefaultBorder
BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
DefaultBorder new ()
 
void onGuiThemeChanged ()
 
void onWidgetChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas ()
 
void setWidget (Widget widget)
 
void updateCanvas ()
 

Detailed Description

Draws an etched border around a widget with a given color and thickness.

Author
Roland Pl├╝ss
Version
1.0

Member Function Documentation

§ getBorderSize()

BorderSize getBorderSize ( )

Border size.

Implements Border.

§ new() [1/4]

EtchedBorder new ( )

Creates a new raised etched border.

§ new() [2/4]

EtchedBorder new ( Color  colorHilight,
Color  colorShadow 
)

Creates a new raised etched border with the given colors.

§ new() [3/4]

EtchedBorder new ( bool  raised)

Creates a new etched border.

§ new() [4/4]

EtchedBorder new ( bool  raised,
Color  colorHilight,
Color  colorShadow 
)

Creates a new etched border with the given colors.

§ updateCanvas()

void updateCanvas ( )

Update canvas.


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