Drag[en]gine Script Module DragonScript
1.23
|
Draw etched border around a widget with a given color and thickness. More...
Public Member Functions | |
BorderSize | getBorderSize () |
Border size. More... | |
TitledEtchedBorder | new () |
Create titled etched border. More... | |
TitledEtchedBorder | new (String text) |
Create titled etched border. More... | |
void | updateCanvas () |
Update canvas. More... | |
Public Member Functions inherited from Dragengine.Gui.Borders.TitledTwoColorBorder | |
Font | getFont () |
Font or widget font if not set. More... | |
Color | getFontColor () |
String | getText () |
Text or widget title if not set. More... | |
Color | getTextColor () |
Text color or widget text color if not set. More... | |
Point | getTextSize () |
Text size. More... | |
void | setFont (Font font) |
Set font or null to use widget font. More... | |
void | setText (String text) |
Set text. More... | |
void | setTextColor (Color color) |
Set text color or null to use widget text color. More... | |
Public Member Functions inherited from Dragengine.Gui.Borders.TwoColorBorder | |
Color | getColorHighlight () |
Color | getColorHilight () |
Color | getColorShadow () |
bool | getRaised () |
TwoColorBorder | new (bool raised) |
TwoColorBorder | new (bool raised, Color colorHighlight, Color colorShadow) |
TwoColorBorder | new (Color colorHighlight, Color colorShadow) |
void | setColorHighlight (Color color) |
void | setColorHilight (Color color) |
void | setColorShadow (Color color) |
void | setRaised (bool raised) |
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.TitledTwoColorBorder | |
Font | pFont |
String | pText |
Color | pTextColor |
Public Attributes inherited from Dragengine.Gui.Borders.DefaultBorder | |
CanvasView | pCanvas |
Widget | pWidget |
Draw etched border around a widget with a given color and thickness.
BorderSize Dragengine.Gui.Borders.TitledEtchedBorder.getBorderSize | ( | ) |
Border size.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
TitledEtchedBorder Dragengine.Gui.Borders.TitledEtchedBorder.new | ( | ) |
Create titled etched border.
Reimplemented from Dragengine.Gui.Borders.TitledTwoColorBorder.
TitledEtchedBorder Dragengine.Gui.Borders.TitledEtchedBorder.new | ( | String | text | ) |
Create titled etched border.
Reimplemented from Dragengine.Gui.Borders.TitledTwoColorBorder.
void Dragengine.Gui.Borders.TitledEtchedBorder.updateCanvas | ( | ) |
Update canvas.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.