toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
RichTextData
/
TextNode
Text
Node
data
class
TextNode
(
val
text
:
String
,
val
style
:
RichTextData.Style
=
Style.DEFAULT
)
:
RichTextData.Node
,
Extra
Members
Constructors
Text
Node
Link copied to clipboard
constructor
(
text
:
String
,
style
:
RichTextData.Style
=
Style.DEFAULT
)
Properties
bounds
Link copied to clipboard
val
bounds
:
TextMetrics
extra
Link copied to clipboard
open
override
var
extra
:
ExtraType
height
Link copied to clipboard
open
override
val
height
:
Double
line
Height
Link copied to clipboard
open
override
val
lineHeight
:
Double
style
Link copied to clipboard
val
style
:
RichTextData.Style
text
Link copied to clipboard
open
override
val
text
:
String
width
Link copied to clipboard
open
override
val
width
:
Double
Functions
with
Style
Link copied to clipboard
open
override
fun
withStyle
(
style
:
RichTextData.Style
)
:
RichTextData.TextNode