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

Styled text render image element. More...

Inheritance diagram for STREImage:
STRElement

Public Member Functions

void addToCanvas (CanvasView canvas, Point position)
 Add canvas for each element. More...
 
Point calculateSize ()
 Calculate size of element. More...
 
Image getImage ()
 Image. More...
 
STREImage new ()
 Create styled text render image element. More...
 
void setImage (Image image)
 Set image. More...
 
- Public Member Functions inherited from STRElement
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 render image element.

Member Function Documentation

§ addToCanvas()

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.

§ calculateSize()

Point calculateSize ( )

Calculate size of element.

§ getImage()

Image getImage ( )

Image.

§ new()

STREImage new ( )

Create styled text render image element.

§ setImage()

void setImage ( Image  image)

Set image.


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