toggle menu
multiplatform
0.9.1
common
switch theme
search in API
multiplatform
/
casperix.renderer.text
/
TextLayout
Text
Layout
data
class
TextLayout
(
val
metrics
:
FontMetrics
,
val
text
:
String
,
val
symbols
:
List
<
SymbolLayout
>
)
Work only for traditional languages -- one symbol -- one glyph
Members
Constructors
Text
Layout
Link copied to clipboard
constructor
(
metrics
:
FontMetrics
,
text
:
String
,
symbols
:
List
<
SymbolLayout
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
metrics
Link copied to clipboard
val
metrics
:
FontMetrics
symbols
Link copied to clipboard
val
symbols
:
List
<
SymbolLayout
>
text
Link copied to clipboard
val
text
:
String
Functions
get
Area
Link copied to clipboard
fun
getArea
(
)
:
Box2f