---
title: "StylePropertyAccessorScope"
description: "Provides access to resolved style property values."
type: "interface"
lastmod: "2026-09-24"
---
## API Reference

> Source set: Common

```kotlin
public interface StylePropertyAccessorScope
```

Provides access to resolved style property values.

## Properties

### value

> Source set: Common

```kotlin
public val <T> StyleProperty<T>.value: T
```

Returns the resolved value of this [StyleProperty](/jetpack-compose/androidx.compose.foundation/foundation/classes/StyleProperty/api), or its default value if not set.

### isSet

> Source set: Common

```kotlin
public val StyleProperty<*>.isSet: Boolean
```

Returns `true` if a value is explicitly set for this [StyleProperty](/jetpack-compose/androidx.compose.foundation/foundation/classes/StyleProperty/api).

## Functions

### getOrNull

> Source set: Common

```kotlin
public fun <T> getOrNull(property: StyleProperty<T>): T?
```

Returns the resolved value of `property`, or `null` if it is not set.

### anySet

> Source set: Common

```kotlin
public fun anySet(properties: Set<StyleProperty<*>>): Boolean
```

Returns `true` if any property in `properties` is set.
