Drag[en]gine Script Module DragonScript Script API  1.0
CanvasCreator Interface Reference

Interface able to create canvas for widgets. More...

Inheritance diagram for CanvasCreator:
BevelCanvasCreator DefaultCanvasCreator ImageBorderCanvasCreator ImageCanvasCreator RectangleCanvasCreator

Public Member Functions

Canvas createCanvas (Point size)
 Create canvas for a specific widget size. More...
 

Detailed Description

Interface able to create canvas for widgets.

Canvas creators are used to implement the graphic representation of widgets. Allows replacing the look of widgets using GuiTheme.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ createCanvas()

Canvas createCanvas ( Point  size)

Create canvas for a specific widget size.

Implemented in ImageBorderCanvasCreator, BevelCanvasCreator, RectangleCanvasCreator, ImageCanvasCreator, and DefaultCanvasCreator.


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