ModifiersBuilders.ArcModifiers.Builder


public final class ModifiersBuilders.ArcModifiers.Builder


Builder for ArcModifiers

Summary

Public constructors

Creates an instance of Builder.

Public methods

@NonNull ModifiersBuilders.ArcModifiers

Builds an instance from accumulated values.

@NonNull ModifiersBuilders.ArcModifiers.Builder

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

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

Sets the opacity of the element.

@NonNull ModifiersBuilders.ArcModifiers.Builder

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

Public constructors

Builder

Added in 1.0.0
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull ModifiersBuilders.ArcModifiers build()

Builds an instance from accumulated values.

setClickable

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

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)
public @NonNull ModifiersBuilders.ArcModifiers.Builder setOpacity(@NonNull TypeBuilders.FloatProp opacity)

Sets the opacity of the element.

setSemantics

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

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