toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
RichTextData
/
Style
Style
data
class
Style
(
val
font
:
Font
,
val
textSize
:
Double
=
16.0
,
val
italic
:
Boolean
=
false
,
val
bold
:
Boolean
=
false
,
val
underline
:
Boolean
=
false
,
val
color
:
RGBA
?
=
null
,
val
canBreak
:
Boolean
=
true
)
Members
Constructors
Style
Link copied to clipboard
constructor
(
font
:
Font
,
textSize
:
Double
=
16.0
,
italic
:
Boolean
=
false
,
bold
:
Boolean
=
false
,
underline
:
Boolean
=
false
,
color
:
RGBA
?
=
null
,
canBreak
:
Boolean
=
true
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
bold
Link copied to clipboard
val
bold
:
Boolean
=
false
can
Break
Link copied to clipboard
val
canBreak
:
Boolean
=
true
color
Link copied to clipboard
val
color
:
RGBA
?
=
null
font
Link copied to clipboard
val
font
:
Font
italic
Link copied to clipboard
val
italic
:
Boolean
=
false
text
Size
Link copied to clipboard
val
textSize
:
Double
=
16.0
underline
Link copied to clipboard
val
underline
:
Boolean
=
false
Functions
with
Text
Link copied to clipboard
fun
withText
(
text
:
String
)
:
RichTextData