Drag[en]gine Script Module DragonScript  1.23
Dragengine.Gui.Borders.TitledEtchedBorder Class Reference

Draw etched border around a widget with a given color and thickness. More...

Inheritance diagram for Dragengine.Gui.Borders.TitledEtchedBorder:
Dragengine.Gui.Borders.TitledTwoColorBorder Dragengine.Gui.Borders.TwoColorBorder Dragengine.Gui.Borders.DefaultBorder Dragengine.Gui.Borders.Border

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
 

Detailed Description

Draw etched border around a widget with a given color and thickness.

Member Function Documentation

◆ getBorderSize()

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

Border size.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ new() [1/2]

TitledEtchedBorder Dragengine.Gui.Borders.TitledEtchedBorder.new ( )

Create titled etched border.

Reimplemented from Dragengine.Gui.Borders.TitledTwoColorBorder.

◆ new() [2/2]

TitledEtchedBorder Dragengine.Gui.Borders.TitledEtchedBorder.new ( String  text)

Create titled etched border.

Reimplemented from Dragengine.Gui.Borders.TitledTwoColorBorder.

◆ updateCanvas()

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

Update canvas.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.


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