semantics

Function

Android
public fun CurvedModifier.semantics(properties: CurvedSemanticsScope.() -> Unit): CurvedModifier

Allow specifying semantic properties on a curved component. Note that currently only contentDescription and traversalIndex are supported, and they can be applied to curved text and curvedComposable

Sample for setting content description and traversal order:

Parameters

propertiesThe properties to apply, SemanticsPropertyReceiver will be provided in the scope to allow access for common properties and its values.