ModifiersBuilders.ArcModifiers


@RequiresSchemaVersion(major = 1, minor = 0)
class ModifiersBuilders.ArcModifiers


Modifiers that can be used with ArcLayoutElements. These may change the way they are drawn, or change their behaviour.

Summary

Nested types

Builder for ArcModifiers

Public functions

ModifiersBuilders.Clickable?

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

TypeBuilders.FloatProp?

Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque.

ModifiersBuilders.Semantics?

Gets adds metadata for the modified element, for example, screen reader content descriptions.

ModifiersBuilders.Transformation?

Gets the transformation applied to the element post-layout.

String

Public functions

getClickable

Added in 1.0.0
fun getClickable(): ModifiersBuilders.Clickable?

Gets allows its wrapped element to have actions associated with it, which will be executed when the element is tapped.

getOpacity

Added in 1.2.0-alpha01
fun getOpacity(): TypeBuilders.FloatProp?

Gets the opacity of the element with a value from 0 to 1, where 0 means the element is completely transparent and 1 means the element is completely opaque. Dynamic value is supported.

getSemantics

Added in 1.0.0
fun getSemantics(): ModifiersBuilders.Semantics?

Gets adds metadata for the modified element, for example, screen reader content descriptions.

getTransformation

Added in 1.2.0-alpha01
fun getTransformation(): ModifiersBuilders.Transformation?

Gets the transformation applied to the element post-layout.

toString

fun toString(): String