# androidx.glance.wear.tiles.curved

# androidx.glance.wear.tiles.curved

## Interfaces

|-----------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|
| [CurvedChildScope](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedChildScope)                         | **This interface is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [CurvedScope](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope)                                   | **This interface is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier)                 | **This interface is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [GlanceCurvedModifier.Element](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier.Element) | **This interface is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Classes

|-----------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
| [AnchorType](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/AnchorType)                                     | **This class is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [CombinedGlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CombinedGlanceCurvedModifier) | **This class is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [CurvedTextStyle](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedTextStyle)                           | **This class is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [RadialAlignment](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/RadialAlignment)                           | **This class is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Objects

|---------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
| [GlanceCurvedModifier.Companion](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier.Companion) | **This object is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Annotations

|-------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
| [CurvedScopeMarker](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScopeMarker) | **This annotation is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Top-level functions summary

|-------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | `@`[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable) ~~[CurvedRow](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1))~~`(` ` modifier: `[GlanceModifier](https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier)`,` ` anchorDegrees: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`,` ` anchorType: `[AnchorType](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/AnchorType)`,` ` radialAlignment: `[RadialAlignment](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/RadialAlignment)`,` ` content: `[CurvedScope](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) `)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed |

## Extension functions summary

|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier) | [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier)`.`~~[clickable](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).clickable(androidx.glance.action.Action))~~`(onClick: `[Action](https://developer.android.com/reference/kotlin/androidx/glance/action/Action)`)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed                                                                                                                        |
| [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier) | [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier)`.`~~[semantics](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).semantics(kotlin.Function1))~~`(properties: `[SemanticsPropertyReceiver](https://developer.android.com/reference/kotlin/androidx/glance/semantics/SemanticsPropertyReceiver)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)`)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed |
| [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier) | [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier)`.`~~[sweepAngleDegrees](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).sweepAngleDegrees(kotlin.Float))~~`(degrees: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)`)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed                                                                                                                                |
| [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier) | [GlanceCurvedModifier](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/GlanceCurvedModifier)`.`~~[thickness](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).thickness(androidx.compose.ui.unit.Dp))~~`(thickness: `[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)`)` **This function is deprecated.**glance-wear-tiles is deprecated and will be removed                                                                                                                              |

## Top-level functions

### CurvedRow

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/CurvedRow.kt+function:CurvedRow)  

```
@Composable
fun [CurvedRow](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1))(
    modifier: GlanceModifier = GlanceModifier,
    anchorDegrees: Float = 270.0f,
    anchorType: AnchorType = AnchorType.Center,
    radialAlignment: RadialAlignment = RadialAlignment.Center,
    content: CurvedScope.() -> Unit
): Unit
```
| **This function is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

A curved layout container. This container will fill itself to a circle, which fits inside its parent container, and all of its children will be placed on that circle. The parameters[anchorDegrees](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1))and[anchorType](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1))can be used to specify where to draw children within this circle. Each child will then be placed, one after the other, clockwise around the circle.

While this container can hold any composable element, only those built specifically to work inside of a CurvedRow container (e.g.[CurvedScope.curvedText](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope#curvedText(kotlin.String,androidx.glance.wear.tiles.curved.GlanceCurvedModifier,androidx.glance.wear.tiles.curved.CurvedTextStyle))) will adapt themselves to the CurvedRow. Any other element wrapped in[CurvedScope.curvedComposable](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope#curvedComposable(kotlin.Boolean,kotlin.Function0))will be drawn normally, at a tangent to the circle or straight up depending on the value of rotateContent.  

|                                                                                                   Parameters                                                                                                   |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `modifier: `[GlanceModifier](https://developer.android.com/reference/kotlin/androidx/glance/GlanceModifier)` = GlanceModifier`                                                                                 | Modifiers for this container.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `anchorDegrees: `[Float](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` = 270.0f`                                                                                                    | The angle for the anchor in degrees, used with[anchorType](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1))to determine where to draw children. Note that 0 degrees is the 3 o'clock position on a device, and the angle sweeps clockwise. Values do not have to be clamped to the range 0-360; values less than 0 degrees will sweep anti-clockwise (i.e. -90 degrees is equivalent to 270 degrees), and values \>360 will be be placed at X mod 360 degrees. |
| `anchorType: `[AnchorType](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/AnchorType)` = AnchorType.Center`                                                                  | Alignment of the contents of this container relative to[anchorDegrees](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1)).                                                                                                                                                                                                                                                                                                                                       |
| `radialAlignment: `[RadialAlignment](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/RadialAlignment)` = RadialAlignment.Center`                                              | specifies where to lay down children that are thinner than the CurvedRow, either closer to the center (INNER), apart from the center (OUTER) or in the middle point (CENTER).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| `content: `[CurvedScope](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/CurvedScope)`.() `->` `[Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | The content of this[CurvedRow](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#CurvedRow(androidx.glance.GlanceModifier,kotlin.Float,androidx.glance.wear.tiles.curved.AnchorType,androidx.glance.wear.tiles.curved.RadialAlignment,kotlin.Function1)).                                                                                                                                                                                                                                                                                                                                                                               |

## Extension functions

### clickable

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/GlanceCurvedModifier.kt+function:clickable)  
Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
fun GlanceCurvedModifier.[clickable](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).clickable(androidx.glance.action.Action))(onClick: Action): GlanceCurvedModifier
```
| **This function is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

Apply an[Action](https://developer.android.com/reference/kotlin/androidx/glance/action/Action), to be executed in response to a user click  

### semantics

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/GlanceCurvedModifier.kt+function:semantics)  
Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
fun GlanceCurvedModifier.[semantics](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).semantics(kotlin.Function1))(properties: SemanticsPropertyReceiver.() -> Unit): GlanceCurvedModifier
```
| **This function is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

Associate accessibility semantics with an element. This should generally be used sparingly, amd in mose cases should only be applied to the top-level layout element or clickable elements.  

### sweepAngleDegrees

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/GlanceCurvedModifier.kt+function:sweepAngleDegrees)  
Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
fun GlanceCurvedModifier.[sweepAngleDegrees](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).sweepAngleDegrees(kotlin.Float))(degrees: Float): GlanceCurvedModifier
```
| **This function is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

Sets the sweep angle of the curved element, in degrees  

### thickness

Artifact:[androidx.glance:glance-wear-tiles](https://developer.android.com/jetpack/androidx/releases/glance)  
[View Source](https://cs.android.com/search?q=file:androidx/glance/wear/tiles/curved/GlanceCurvedModifier.kt+function:thickness)  
Added in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  
Deprecated in[1.0.0-alpha07](https://developer.android.com/jetpack/androidx/releases/glance#1.0.0-alpha07)  

```
fun GlanceCurvedModifier.[thickness](https://developer.android.com/reference/kotlin/androidx/glance/wear/tiles/curved/package-summary#(androidx.glance.wear.tiles.curved.GlanceCurvedModifier).thickness(androidx.compose.ui.unit.Dp))(thickness: Dp): GlanceCurvedModifier
```
| **This function is deprecated.**   
| glance-wear-tiles is deprecated and will be removed

Sets the thickness of the curved element, in[Dp](https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)