Drag[en]gine Script Module DragonScript
1.23
|
Renders a single transparent image as border. More...
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 |
Renders a single transparent image as border.
The image is stretched to cover the entire widget.
BorderSize Dragengine.Gui.Borders.ImageBorder.getBorderSize | ( | ) |
Border size.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
ImageBorder Dragengine.Gui.Borders.ImageBorder.new | ( | ) |
Create border.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.
ImageBorder Dragengine.Gui.Borders.ImageBorder.new | ( | Image | image | ) |
Create border.
ImageBorder Dragengine.Gui.Borders.ImageBorder.new | ( | Image | image, |
BorderSize | borderSize | ||
) |
Create border.
void Dragengine.Gui.Borders.ImageBorder.setBorderSize | ( | BorderSize | borderSize | ) |
Set border size.
void Dragengine.Gui.Borders.ImageBorder.setImage | ( | Image | image | ) |
Set image border.
void Dragengine.Gui.Borders.ImageBorder.updateCanvas | ( | ) |
Update canvas.
Reimplemented from Dragengine.Gui.Borders.DefaultBorder.