StylePattern

sealed class StylePattern

A persistent stylesheet maps unvalidated style patterns onto unvalidated style attributes. A StylePatternCompiler compiles a valid StylePattern with valid StyleAttributes into a ValidatedStylePattern.

Author

Todd L Smith

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun compareSpecificityTo(other: StylePattern): AbstractNumberDescriptor.Order

Determine the relative specificity of the receiver and the argument. The relative specificity of two patterns is determined according to the following criteria:

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

Properties

Link copied to clipboard
open val renderingContext: RenderingContext
Link copied to clipboard
val source: String

The source text of the style pattern.

Inheritors

Link copied to clipboard
Link copied to clipboard