Drag[en]gine Script Module DragonScript  1.21
Dragengine.Gui.Borders.Border Interface Reference
Inheritance diagram for Dragengine.Gui.Borders.Border:
Dragengine.Gui.Borders.DefaultBorder Dragengine.Gui.Borders.CanvasCreatorBorder Dragengine.Gui.Borders.CombinedBorder Dragengine.Gui.Borders.EmptyBorder Dragengine.Gui.Borders.ImageBorder Dragengine.Gui.Borders.LineBorder Dragengine.Gui.Borders.TwoColorBorder Dragengine.Gui.Borders.BevelBorder Dragengine.Gui.Borders.EtchedBorder Dragengine.Gui.Borders.TitledTwoColorBorder Dragengine.Gui.Borders.TitledEtchedBorder

Public Member Functions

BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
Widget getWidget ()
 
void onGuiThemeChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas (Point widgetSize)
 
void setWidget (Widget widget)
 

Detailed Description

Interface for clases knowing how to render borders around arbitrary widgets.

Member Function Documentation

◆ getBorderSize()

◆ getCanvas()

Canvas Dragengine.Gui.Borders.Border.getCanvas ( )

Canvas to render this border.

Implemented in Dragengine.Gui.Borders.DefaultBorder.

◆ getWidget()

Widget Dragengine.Gui.Borders.Border.getWidget ( )

Widget the border is assigned to or null if there is none.

Implemented in Dragengine.Gui.Borders.DefaultBorder.

◆ onGuiThemeChanged()

void Dragengine.Gui.Borders.Border.onGuiThemeChanged ( )

Gui theme of the widget changed.

Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.

◆ onWidgetParametersChanged()

void Dragengine.Gui.Borders.Border.onWidgetParametersChanged ( )

Widget parameters changed that potentially affect the decoration.

Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.

◆ resizeCanvas()

void Dragengine.Gui.Borders.Border.resizeCanvas ( Point  widgetSize)

Resize canvas to fit widget if widget is set.

Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.

◆ setWidget()

void Dragengine.Gui.Borders.Border.setWidget ( Widget  widget)

Set widget the border is assigned to or null if there is none.

Implemented in Dragengine.Gui.Borders.DefaultBorder, and Dragengine.Gui.Borders.CombinedBorder.


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