toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
TextAlignment
Text
Alignment
data
class
TextAlignment
(
val
horizontal
:
HorizontalAlign
,
val
vertical
:
VerticalAlign
)
:
EnumLike
<
TextAlignment
>
Members
Constructors
Text
Alignment
Link copied to clipboard
constructor
(
horizontal
:
HorizontalAlign
,
vertical
:
VerticalAlign
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
anchor
Link copied to clipboard
val
anchor
:
Anchor
horizontal
Link copied to clipboard
val
horizontal
:
HorizontalAlign
justified
Link copied to clipboard
val
justified
:
Boolean
vertical
Link copied to clipboard
val
vertical
:
VerticalAlign
Functions
get
Values
Link copied to clipboard
open
override
fun
EnumLike.Scope
.
getValues
(
)
:
List
<
TextAlignment
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
with
Horizontal
Link copied to clipboard
fun
withHorizontal
(
horizontal
:
HorizontalAlign
)
:
TextAlignment
with
Vertical
Link copied to clipboard
fun
withVertical
(
vertical
:
VerticalAlign
)
:
TextAlignment