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

Styled text rendering element. More...

Inheritance diagram for STRElement:

Public Member Functions

void addToCanvas (CanvasView canvas, Point position)
 Add canvas for each element. More...
Point calculateSize ()
 Calculate size of element. More...
Point getPosition ()
 Position. More...
STRElement new ()
 Create styled text rendering object. More...
void setPosition (Point position)
 Set position. More...

Detailed Description

Styled text rendering element.

Member Function Documentation

void addToCanvas ( CanvasView  canvas,
Point  position 

Add canvas for each element.

Canvas has to be of type Canvas.VIEW. Caller is responsible to remove all canvas if required.

Point calculateSize ( )

Calculate size of element.

Point getPosition ( )


STRElement new ( )

Create styled text rendering object.

void setPosition ( Point  position)

Set position.

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