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

Combine two borders into one. More...

Inheritance diagram for Dragengine.Gui.Borders.CombinedBorder:
Dragengine.Gui.Borders.DefaultBorder Dragengine.Gui.Borders.Border

Public Member Functions

BorderSize getBorderSize ()
 Border size. More...
 
Border getInnerBorder ()
 Inner border or null. More...
 
Border getOuterBorder ()
 Outer border or null. More...
 
CombinedBorder new ()
 Create border. More...
 
CombinedBorder new (Border innerBorder, Border outerBorder)
 Create border. More...
 
void onGuiThemeChanged ()
 Gui theme of widget changed. More...
 
void onWidgetParametersChanged ()
 Widget parameters changed. More...
 
void resizeCanvas (Point widgetSize)
 Resize canvas to fit widget if widget is set. More...
 
void setInnerBorder (Border border)
 Set inner border or null. More...
 
void setOuterBorder (Border border)
 Set outer border or null. More...
 
void setWidget (Widget widget)
 Set widget the border is assigned to or null. More...
 
void updateCanvas ()
 Update canvas. More...
 
- Public Member Functions inherited from Dragengine.Gui.Borders.DefaultBorder
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
void onWidgetChanged ()
 

Additional Inherited Members

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

Detailed Description

Combine two borders into one.

Borders are called "inner" and "outer" border with outer border layered ontop of inner border.

Member Function Documentation

◆ getBorderSize()

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

Border size.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ getInnerBorder()

Border Dragengine.Gui.Borders.CombinedBorder.getInnerBorder ( )

Inner border or null.

◆ getOuterBorder()

Border Dragengine.Gui.Borders.CombinedBorder.getOuterBorder ( )

Outer border or null.

◆ new() [1/2]

CombinedBorder Dragengine.Gui.Borders.CombinedBorder.new ( )

Create border.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ new() [2/2]

CombinedBorder Dragengine.Gui.Borders.CombinedBorder.new ( Border  innerBorder,
Border  outerBorder 
)

Create border.

◆ onGuiThemeChanged()

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

Gui theme of widget changed.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ onWidgetParametersChanged()

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

Widget parameters changed.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ resizeCanvas()

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

Resize canvas to fit widget if widget is set.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ setInnerBorder()

void Dragengine.Gui.Borders.CombinedBorder.setInnerBorder ( Border  border)

Set inner border or null.

◆ setOuterBorder()

void Dragengine.Gui.Borders.CombinedBorder.setOuterBorder ( Border  border)

Set outer border or null.

◆ setWidget()

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

Set widget the border is assigned to or null.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ updateCanvas()

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

Update canvas.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.


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