toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.style
/
CSS
/
Companion
Companion
object
Companion
Members
Types
Token
Link copied to clipboard
data
class
Token
(
val
str
:
String
)
Functions
parse
Angle
Link copied to clipboard
fun
parseAngle
(
str
:
String
)
:
Angle
?
parse
Animation
Link copied to clipboard
fun
parseAnimation
(
str
:
String
)
:
CSS.Animation
fun
parseAnimation
(
str
:
List
<
CSS.Companion.Token
>
)
parse
Color
Link copied to clipboard
fun
parseColor
(
str
:
String
)
:
RGBA
parse
CSS
Link copied to clipboard
fun
parseCSS
(
str
:
String
)
:
CSS
parse
Easing
Link copied to clipboard
fun
parseEasing
(
str
:
String
)
:
Easing
parse
Number
Drop
Suffix
Link copied to clipboard
fun
parseNumberDropSuffix
(
str
:
String
)
:
Double
?
parse
Ratio
Link copied to clipboard
fun
parseRatio
(
str
:
String
,
default
:
Ratio
=
Ratio.ZERO
)
:
Ratio
parse
Size
As
Double
Link copied to clipboard
fun
parseSizeAsDouble
(
size
:
String
)
:
Double
parse
Time
Link copied to clipboard
fun
parseTime
(
str
:
String
)
:
TimeSpan
?
parse
Transform
Link copied to clipboard
fun
parseTransform
(
str
:
String
)
:
Matrix
parse
Unit
Link copied to clipboard
fun
parseUnit
(
str
:
String
)
:
Double
?
read
Parenthesis
Values
Ignoring
Commas
Link copied to clipboard
fun
readParenthesisValuesIgnoringCommas
(
tr
:
ListReader
<
String
>
)
:
List
<
String
>
tokenize
Link copied to clipboard
fun
tokenize
(
ss
:
StrReader
)
:
List
<
CSS.Companion.Token
>
fun
tokenize
(
str
:
String
)
:
List
<
CSS.Companion.Token
>