toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
HorizontalAlign
Horizontal
Align
inline
class
HorizontalAlign
(
val
ratio
:
Double
)
:
EnumLike
<
HorizontalAlign
>
Members
Constructors
Horizontal
Align
Link copied to clipboard
constructor
(
ratio
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
ratio
Link copied to clipboard
val
ratio
:
Double
ratio
Fake
Link copied to clipboard
val
ratioFake
:
Double
Functions
get
Offset
X
Link copied to clipboard
fun
getOffsetX
(
width
:
Double
)
:
Double
fun
getOffsetX
(
min
:
Double
,
max
:
Double
)
:
Double
get
Values
Link copied to clipboard
open
override
fun
EnumLike.Scope
.
getValues
(
)
:
List
<
HorizontalAlign
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String