Rule

inner class Rule(val selector: Selector)

A Rule is the combination of the Selector, which determines which Nodes will be affected by the rule, and the RuleSettings which contain the property values that will be set.

You can think of a Theme applying this simple logic to every node in the scene graph :

If node matches selector, apply these settings.

Constructors

Link copied to clipboard
constructor(selector: Selector)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String