ModifiersBuilders.ArcModifiers.Builder


class ModifiersBuilders.ArcModifiers.Builder


Builder for ArcModifiers

Summary

Public constructors

Creates an instance of Builder.

Public functions

ModifiersBuilders.ArcModifiers

Builds an instance from accumulated values.

ModifiersBuilders.ArcModifiers.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setClickable(clickable: ModifiersBuilders.Clickable)

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

ModifiersBuilders.ArcModifiers.Builder
@RequiresSchemaVersion(major = 1, minor = 400)
setOpacity(opacity: TypeBuilders.FloatProp)

Sets the opacity of the element.

ModifiersBuilders.ArcModifiers.Builder
@RequiresSchemaVersion(major = 1, minor = 0)
setSemantics(semantics: ModifiersBuilders.Semantics)

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

Public constructors

Builder

Added in 1.0.0
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): ModifiersBuilders.ArcModifiers

Builds an instance from accumulated values.

setClickable

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setClickable(clickable: ModifiersBuilders.Clickable): ModifiersBuilders.ArcModifiers.Builder

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

setOpacity

Added in 1.2.0
@RequiresSchemaVersion(major = 1, minor = 400)
fun setOpacity(opacity: TypeBuilders.FloatProp): ModifiersBuilders.ArcModifiers.Builder

Sets the opacity of the element.

setSemantics

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
fun setSemantics(semantics: ModifiersBuilders.Semantics): ModifiersBuilders.ArcModifiers.Builder

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