Drag[en]gine Script Module DragonScript
1.23
|
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 |
Draws a line around a widget with a given color and thickness.
BorderSize Dragengine.Gui.Borders.LineBorder.getBorderSize | ( | ) |
Retrieves the size of the border sides for the given widget.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
Color Dragengine.Gui.Borders.LineBorder.getColor | ( | ) |
Retrieves the line color.
int Dragengine.Gui.Borders.LineBorder.getThickness | ( | ) |
Retrieves the thickness.
LineBorder Dragengine.Gui.Borders.LineBorder.new | ( | ) |
Creates a new black, 1 pixel strong line border.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
LineBorder Dragengine.Gui.Borders.LineBorder.new | ( | Color | color | ) |
Creates a new line border.
LineBorder Dragengine.Gui.Borders.LineBorder.new | ( | Color | color, |
int | thickness | ||
) |
Creates a new line border.
void Dragengine.Gui.Borders.LineBorder.setColor | ( | Color | color | ) |
Sets the line color.
void Dragengine.Gui.Borders.LineBorder.setThickness | ( | int | thickness | ) |
Sets the thickness.
void Dragengine.Gui.Borders.LineBorder.updateCanvas | ( | ) |
Update canvas.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.