provaengine v0.2.0-alpha (2018-03-19T00:32:13Z)
Dub
Repo
Text
prova
graphics
text
text
class
Text : Entity {
Color
color
;
TextAlign
textAlign
;
TextBaseline
textBaseline
;
this
(string text, Font font);
string
text
[@property getter];
string
text
[@property setter];
Vector2
getSize
();
Rect
getBounds
();
void
draw
(RenderTarget renderTarget, Matrix transform);
}
Constructors
this
this
(string text, Font font)
Members
Functions
draw
void
draw
(RenderTarget renderTarget, Matrix transform)
getBounds
Rect
getBounds
()
getSize
Vector2
getSize
()
Properties
text
string
text
[@property getter]
text
string
text
[@property setter]
Variables
color
Color
color
;
textAlign
TextAlign
textAlign
;
textBaseline
TextBaseline
textBaseline
;
Meta
Source
See Implementation
prova
graphics
text
text
classes
Text
enums
TextAlign
TextBaseline