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

Renders a single transparent image as border. More...

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

Public Member Functions

BorderSize getBorderSize ()
 Border size. More...
 
Image getImage ()
 Border image. More...
 
ImageBorder new ()
 Create border. More...
 
ImageBorder new (Image image)
 Create border. More...
 
ImageBorder new (Image image, BorderSize borderSize)
 Create border. More...
 
void setBorderSize (BorderSize borderSize)
 Set border size. More...
 
void setImage (Image image)
 Set image border. More...
 
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
 

Detailed Description

Renders a single transparent image as border.

The image is stretched to cover the entire widget.

Member Function Documentation

◆ getBorderSize()

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

Border size.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ getImage()

Image Dragengine.Gui.Borders.ImageBorder.getImage ( )

Border image.

◆ new() [1/3]

ImageBorder Dragengine.Gui.Borders.ImageBorder.new ( )

Create border.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.

◆ new() [2/3]

ImageBorder Dragengine.Gui.Borders.ImageBorder.new ( Image  image)

Create border.

◆ new() [3/3]

ImageBorder Dragengine.Gui.Borders.ImageBorder.new ( Image  image,
BorderSize  borderSize 
)

Create border.

◆ setBorderSize()

void Dragengine.Gui.Borders.ImageBorder.setBorderSize ( BorderSize  borderSize)

Set border size.

◆ setImage()

void Dragengine.Gui.Borders.ImageBorder.setImage ( Image  image)

Set image border.

◆ updateCanvas()

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

Update canvas.

Reimplemented from Dragengine.Gui.Borders.DefaultBorder.


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