Struct TextLine
struct TextLine
Constructors
Name | Description |
---|---|
this
(str)
|
Fields
Type | Name | Description |
---|---|---|
markup
|
||
bool |
measured
|
|
dstring |
str
|
Properties
Type | Name | Description |
---|---|---|
int |
glyphCount [get]
|
|
const(FragmentGlyph[]) |
glyphs [get]
|
|
float |
height [get]
|
|
SizeOf!(float) |
size [get]
|
|
bool |
wrapped [get]
|
|
const(LineSpan[]) |
wrapSpans [get]
|
Methods
Name | Description |
---|---|
draw
(pr, x, y, boxWidth, style)
|
|
measure
(style)
|
|
wrap
(boxWidth)
|