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 |
|---|
public final class ModifiersBuilders.ArcModifiers.BuilderBuilder for |
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 |
toString() |
Public methods
getClickable
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
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
public @Nullable ModifiersBuilders.Semantics getSemantics()
Gets adds metadata for the modified element, for example, screen reader content descriptions.