HTextElement

An element that draws text horizontally.

Constructors

this
this()

Members

Functions

clear
void clear()
draw
void draw(Shader s)
loadText
void loadText(FontFace face, dstring text)

Renders the text texture, And calculates position of each characters.

Properties

polys
polys [@property getter]

Polygons to be drawn.

size
size [@property getter]

Size of area text will be drawn.

Structs

Poly
struct Poly
Undocumented in source.

Variables

_polys
Poly[] _polys;
Undocumented in source.
_size
vec2 _size;
Undocumented in source.
_texture
TextTexture _texture;
Undocumented in source.

Inherited Members

From Element

clear
void clear()

Clears all buffers.

draw
void draw(Shader )

Draws the element using the shader.

Meta