toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
RichTextData
/
Line
Line
data
class
Line
(
val
nodes
:
List
<
RichTextData.Node
>
,
val
defaultLineStyle
:
RichTextData.Style
?
=
null
)
:
Extra
Members
Constructors
Line
Link copied to clipboard
constructor
(
vararg
nodes
:
RichTextData.Node
)
constructor
(
nodes
:
List
<
RichTextData.Node
>
,
defaultLineStyle
:
RichTextData.Style
?
=
null
)
Properties
all
Fonts
Link copied to clipboard
val
allFonts
:
Set
<
Font
>
default
Last
Style
Link copied to clipboard
val
defaultLastStyle
:
RichTextData.Style
default
Line
Style
Link copied to clipboard
val
defaultLineStyle
:
RichTextData.Style
?
=
null
default
Style
Link copied to clipboard
val
defaultStyle
:
RichTextData.Style
extra
Link copied to clipboard
open
override
var
extra
:
ExtraType
max
Height
Link copied to clipboard
val
maxHeight
:
Double
max
Line
Height
Link copied to clipboard
val
maxLineHeight
:
Double
nodes
Link copied to clipboard
val
nodes
:
List
<
RichTextData.Node
>
text
Link copied to clipboard
val
text
:
String
width
Link copied to clipboard
val
width
:
Double
Functions
trim
Spaces
Link copied to clipboard
fun
trimSpaces
(
)
:
RichTextData.Line
with
Style
Link copied to clipboard
fun
withStyle
(
style
:
RichTextData.Style
)
:
RichTextData.Line