ThemeStyle
class in package klyn.gui.windows.themes

    public class ThemeStyle:

ThemeStyle

Computed visual style used by `klyn.gui.windows`.

Instances are produced from KSS rules and then consumed by widget painters.

    style = ThemeStyle()
    style.backgroundColor = Color.parse("#3B8ED0")
    style.cornerRadius = 6

Properties

Modifier and Type | Member | Description
--- | --- | ---
public property | accentColor `accentColor as Color = null` | No summary.
public property | backgroundColor `backgroundColor as Color = null` | No summary.
public property | backgroundColor2 `backgroundColor2 as Color = null` | No summary.
public property | borderColor `borderColor as Color = null` | No summary.
public property | borderWidth `borderWidth as Double = -1.0` | No summary.
public property | caretColor `caretColor as Color = null` | No summary.
public property | cornerRadius `cornerRadius as Int = -1` | No summary.
public property | font `font as String = ""` | No summary.
public property | marginBottom `marginBottom as Int = -1` | No summary.
public property | marginLeft `marginLeft as Int = -1` | No summary.
public property | marginRight `marginRight as Int = -1` | No summary.
public property | marginTop `marginTop as Int = -1` | No summary.
public property | paddingBottom `paddingBottom as Int = -1` | No summary.
public property | paddingLeft `paddingLeft as Int = -1` | No summary.
public property | paddingRight `paddingRight as Int = -1` | No summary.
public property | paddingTop `paddingTop as Int = -1` | No summary.
public property | paddingX `paddingX as Int = -1` | No summary.
public property | paddingY `paddingY as Int = -1` | No summary.
public property | placeholderColor `placeholderColor as Color = null` | No summary.
public property | selectionColor `selectionColor as Color = null` | No summary.
public property | shadowBlur `shadowBlur as Double = -1.0` | No summary.
public property | shadowColor `shadowColor as Color = null` | No summary.
public property | shadowOffsetX `shadowOffsetX as Double = 0.0` | No summary.
public property | shadowOffsetY `shadowOffsetY as Double = 0.0` | No summary.
public property | textColor `textColor as Color = null` | No summary.
public property | trackFillColor `trackFillColor as Color = null` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | clone `clone() as ThemeStyle:` | Creates a deep copy of the style.
public | merge `merge(other as ThemeStyle) as Void:` | Overlays another style on top of the current one.
public override | toString `toString() as String:` | No summary.