Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Borders.LineBorder Class Reference
Inheritance diagram for Dragengine.Gui.Borders.LineBorder:
Dragengine.Gui.Borders.DefaultBorder Dragengine.Gui.Borders.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 Dragengine.Gui.Borders.DefaultBorder
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
void onGuiThemeChanged ()
 
void onWidgetChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas (Point widgetSize)
 
void setWidget (Widget widget)
 

Additional Inherited Members

- Public Attributes inherited from Dragengine.Gui.Borders.DefaultBorder
CanvasView pCanvas
 
Widget pWidget
 

Detailed Description

Draws a line around a widget with a given color and thickness.

Member Function Documentation

◆ getBorderSize()

BorderSize Dragengine.Gui.Borders.LineBorder.getBorderSize ( )

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

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ getColor()

Color Dragengine.Gui.Borders.LineBorder.getColor ( )

Retrieves the line color.

◆ getThickness()

int Dragengine.Gui.Borders.LineBorder.getThickness ( )

Retrieves the thickness.

◆ new() [1/3]

LineBorder Dragengine.Gui.Borders.LineBorder.new ( )

Creates a new black, 1 pixel strong line border.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ new() [2/3]

LineBorder Dragengine.Gui.Borders.LineBorder.new ( Color  color)

Creates a new line border.

◆ new() [3/3]

LineBorder Dragengine.Gui.Borders.LineBorder.new ( Color  color,
int  thickness 
)

Creates a new line border.

◆ setColor()

void Dragengine.Gui.Borders.LineBorder.setColor ( Color  color)

Sets the line color.

◆ setThickness()

void Dragengine.Gui.Borders.LineBorder.setThickness ( int  thickness)

Sets the thickness.

◆ updateCanvas()

void Dragengine.Gui.Borders.LineBorder.updateCanvas ( )

Update canvas.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.


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