Drag[en]gine Script Module DragonScript Script API  1.0
ImageBorder Class Reference

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

Inheritance diagram for ImageBorder:
DefaultBorder 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 DefaultBorder
BorderSize getBorderSize ()
 
Canvas getCanvas ()
 
CanvasView getCanvasView ()
 
Widget getWidget ()
 
void layoutContainer ()
 
DefaultBorder new ()
 
void onGuiThemeChanged ()
 
void onWidgetChanged ()
 
void onWidgetParametersChanged ()
 
void resizeCanvas ()
 
void setWidget (Widget widget)
 
void updateCanvas ()
 

Detailed Description

Renders a single transparent image as border.

The image is stretched to cover the entire widget.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ getBorderSize()

BorderSize getBorderSize ( )

Border size.

Implements Border.

§ getImage()

Image getImage ( )

Border image.

§ new() [1/3]

ImageBorder new ( )

Create border.

§ new() [2/3]

ImageBorder new ( Image  image)

Create border.

§ new() [3/3]

ImageBorder new ( Image  image,
BorderSize  borderSize 
)

Create border.

§ setBorderSize()

void setBorderSize ( BorderSize  borderSize)

Set border size.

§ setImage()

void setImage ( Image  image)

Set image border.

§ updateCanvas()

void updateCanvas ( )

Update canvas.


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