Interface

StylePropertyAccessorScope

Provides access to resolved style property values.

Source set: Common
public interface StylePropertyAccessorScope

Provides access to resolved style property values.

Properties

value

Source set: Common
public val <T> StyleProperty<T>.value: T

Returns the resolved value of this StyleProperty, or its default value if not set.

isSet

Source set: Common
public val StyleProperty<*>.isSet: Boolean

Returns true if a value is explicitly set for this StyleProperty.

Functions

getOrNull

Source set: Common
public fun <T> getOrNull(property: StyleProperty<T>): T?

Returns the resolved value of property, or null if it is not set.

anySet

Source set: Common
public fun anySet(properties: Set<StyleProperty<*>>): Boolean

Returns true if any property in properties is set.

Content updated: