ModifiersBuilders.ArcModifiers


@RequiresSchemaVersion(major = 1, minor = 0)
public final 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 methods

@Nullable ModifiersBuilders.Clickable

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

@Nullable 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.

@Nullable ModifiersBuilders.Semantics

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

@NonNull String

Public methods

getClickable

Added in 1.0.0
public @Nullable ModifiersBuilders.Clickable getClickable()

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
public @Nullable TypeBuilders.FloatProp getOpacity()

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
public @Nullable ModifiersBuilders.Semantics getSemantics()

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

toString

public @NonNull String toString()