toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.text
/
VerticalAlign
Vertical
Align
inline
class
VerticalAlign
(
val
ratio
:
Double
)
:
EnumLike
<
VerticalAlign
>
Members
Constructors
Vertical
Align
Link copied to clipboard
constructor
(
ratio
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Provider
Link copied to clipboard
object
Provider
Properties
ratio
Link copied to clipboard
val
ratio
:
Double
ratio
Fake
Link copied to clipboard
val
ratioFake
:
Double
ratio
Fake0
Link copied to clipboard
val
ratioFake0
:
Double
Functions
get
Offset
Y
Link copied to clipboard
fun
getOffsetY
(
height
:
Double
,
baseline
:
Double
)
:
Double
get
Offset
YRespect
Baseline
Link copied to clipboard
fun
getOffsetYRespectBaseline
(
font
:
FontMetrics
,
totalHeight
:
Double
)
:
Double
fun
getOffsetYRespectBaseline
(
glyph
:
GlyphMetrics
,
font
:
FontMetrics
)
:
Double
get
Values
Link copied to clipboard
open
override
fun
EnumLike.Scope
.
getValues
(
)
:
List
<
VerticalAlign
>
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String