Package-level declarations
Types
A KSerializer for SerializableColor
Default implementation of a KalugaColorLoader.
Default implementation of a KalugaColorLoader.
Default implementation of a KalugaColorLoader.
Default implementation of a KalugaColorLoader.
Default implementation of a KalugaColorLoader.
All HTML supported colors https://htmlcolorcodes.com/color-names/
Default implementation of a FontLoader.
Default implementation of a FontLoader.
Default implementation of a FontLoader.
Default implementation of a FontLoader.
Default implementation of a FontLoader.
Default implementation of an ImageLoader.
Default implementation of an ImageLoader.
Default implementation of an ImageLoader.
Default implementation of a ImageLoader.
Default implementation of a ImageLoader.
Default implementation of a StringLoader.
Default implementation of a StringLoader.
Default implementation of a StringLoader.
Default implementation of a StringLoader.
Default implementation of a StringLoader.
Loads a KalugaFont based on a provided identifier.
Loads a KalugaImage based on a provided identifier.
Class describing a color
Class describing a color
Class describing a color
Class describing a color
Class describing a color
Loads a KalugaColor based on a provided identifier.
Class describing a font
Class describing a font
Class describing a font
Class describing a font
Class describing a font
Class describing an image.
Class describing an image.
Class describing an image.
Class describing an image.
Class describing an image.
A style to apply to a StyledString when StringStyleAttribute.Link is applied
A wrapper for KalugaColor that allows it to be serialized
Loads a String based on a provided identifier.
A style attribute that can be applied to a StyledString
A text configured with StringStyleAttribute
A text configured with StringStyleAttribute
A text configured with StringStyleAttribute
A text configured with StringStyleAttribute
A text configured with StringStyleAttribute
Builder for creating a StyledString
Builder for creating a StyledString
Builder for creating a StyledString
Builder for creating a StyledString
Builder for creating a StyledString
A KalugaImage tinted with a given KalugaColor
Properties
Gets the alpha value of the color in a range between 0.0
and 1.0
Gets the alpha value of the color in a range between 0.0
and 1.0
Gets the alpha value of the color in a range between 0
and 255
Gets the alpha value of the color in a range between 0
and 255
Gets the blue value of the color in a range between 0.0
and 1.0
Gets the blue value of the color in a range between 0.0
and 1.0
Gets the blue value of the color in a range between 0
and 255
Gets the green value of the color in a range between 0
and 255
Gets the KalugaColor equivalent to this HSLColor
The default bold system KalugaFont
The default bold system KalugaFont
The default bold system KalugaFont
The default bold system KalugaFont
The default bold system KalugaFont
The default system KalugaFont
The default system KalugaFont
The default system KalugaFont
The default system KalugaFont
The default system KalugaFont
The default italic system KalugaFont
The default italic system KalugaFont
The default italic system KalugaFont
The default italic system KalugaFont
The default italic system KalugaFont
The default monospace system KalugaFont
The default monospace system KalugaFont
The default monospace system KalugaFont
The default monospace system KalugaFont
The default monospace system KalugaFont
Gets a Drawable of a TintedImage or null
if the TintedImage cannot be made into a Drawable
Gets the green value of the color in a range between 0.0
and 1.0
Gets the green value of the color in a range between 0.0
and 1.0
Gets the green value of the color in a range between 0
and 255
Gets the blue value of the color in a range between 0
and 255
The hex string representing this color
Gets the HSLColor equivalent to this KalugaColor
The inverted KalugaColor
When true
the application is in Dark Mode.
When true
the application is in Dark Mode.
When true
the application is in Dark Mode.
When true
the application is in Dark Mode.
When true
the application is in Dark Mode.
Gets the plain string of a StyledString
Gets the plain string of a StyledString
Gets the plain string of a StyledString
Gets the plain string of a StyledString
Gets the plain string of a StyledString
Gets the red value of the color in a range between 0.0
and 1.0
Gets the red value of the color in a range between 0.0
and 1.0
Gets the red value of the color in a range between 0
and 255
Gets the red value of the color in a range between 0
and 255
Gets a SerializableColor instance of this color
Functions
Treats this string as a resource identifier for a KalugaColor and grabs the associated KalugaColor
Treats this string as a resource identifier for a KalugaFont and grabs the associated KalugaFont
Treats this string as a resource identifier for a KalugaColor and grabs the associated KalugaImage
Looks for a substring in the String and returns a Pair or StringStyleAttribute and IntRange that should be provided to StyledStringBuilder to apply the StringStyleAttribute to the first occurrence of the substring
Blends a KalugaColor with another color using BlendMode.ColorBurn
Blends a KalugaColor with another color using BlendMode.ColorBlend
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0.0
and 1.0
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0
and 255
.
Attempts to parse a given String into a Color. The string should be formatted as either #AARRGGBB
or #RRGGBB
for the parsing to succeed.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0.0
and 1.0
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0
and 255
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0.0
and 1.0
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0
and 255
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0.0
and 1.0
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0
and 255
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0.0
and 1.0
.
Creates a KalugaColor using red, green, blue, and (optional) alpha, all ranging between 0
and 255
.
Blends a KalugaColor with another color using BlendMode.Darken
Decreases the lightness of a KalugaColor by this factor.
Blends a KalugaColor with another color using BlendMode.Difference
Blends a KalugaColor with another color using BlendMode.ColorDodge
Blends a KalugaColor with another color using BlendMode.Exclusion
Blends a KalugaColor with another color using BlendMode.HardLight
Blends a KalugaColor with another color using BlendMode.Hue
Blends a KalugaColor with another color using BlendMode.Lighten
Increases the lightness of a KalugaColor by this factor.
Blends a KalugaColor with another color using BlendMode.Luminosity
Blends a KalugaColor with another color using BlendMode.Multiply
Blends a KalugaColor with another color using BlendMode.Normal
Blends a KalugaColor with another color using BlendMode.Overlay
Blends a KalugaColor with another color using BlendMode.Saturation
Blends a KalugaColor with another color using BlendMode.Screen
Blends a KalugaColor with another color using BlendMode.SoftLight
Creates a StyledString from a String
Attempts to create a new KalugaImage that is tinted in a given KalugaColor