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

Public Member Functions

BorderSize getBorderSize ()
Color getColor ()
int getThickness ()
LineBorder new ()
LineBorder new (Color color)
LineBorder new (Color color, int thickness)
void setColor (Color color)
void setThickness (int thickness)
void updateCanvas ()
- 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 a line around a widget with a given color and thickness.

Roland Pl├╝ss

Member Function Documentation

◆ getBorderSize()

BorderSize getBorderSize ( )

Retrieves the size of the border sides for the given widget.

Implements Border.

◆ getColor()

Color getColor ( )

Retrieves the line color.

◆ getThickness()

int getThickness ( )

Retrieves the thickness.

◆ new() [1/3]

LineBorder new ( )

Creates a new black, 1 pixel strong line border.

◆ new() [2/3]

LineBorder new ( Color  color)

Creates a new line border.

◆ new() [3/3]

LineBorder new ( Color  color,
int  thickness 

Creates a new line border.

◆ setColor()

void setColor ( Color  color)

Sets the line color.

◆ setThickness()

void setThickness ( int  thickness)

Sets the thickness.

◆ updateCanvas()

void updateCanvas ( )

Update canvas.

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