# DisplayFeature

# DisplayFeature

Artifact:[androidx.window:window](https://developer.android.com/jetpack/androidx/releases/window)  
[View Source](https://cs.android.com/search?q=file:androidx/window/layout/DisplayFeature.kt+class:androidx.window.layout.DisplayFeature)  
Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/window/layout/DisplayFeature "View this page in Java")

<br />

```
interface DisplayFeature
```

<br />

Known direct subclasses  
[FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature)  

|--------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| [FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature) | A feature that describes a fold in the flexible display or a hinge between two physical display panels. |

*** ** * ** ***

Description of a physical feature on the display.

A display feature is a distinctive physical attribute located within the display panel of the device. It can intrude into the application window space and create a visual distortion, visual or touch discontinuity, make some area invisible or create a logical divider or separation in the screen space.  

|                                                See also                                                |
|--------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|
| [FoldingFeature](https://developer.android.com/reference/kotlin/androidx/window/layout/FoldingFeature) | Represents a screen fold that intersects the application window. |

## Summary

|                           ### Public properties                            |
|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Rect](https://developer.android.com/reference/android/graphics/Rect.html) | [bounds](https://developer.android.com/reference/kotlin/androidx/window/layout/DisplayFeature#bounds()) The bounding rectangle of the feature within the application window in the window coordinate space. |

## Public properties

### bounds

Added in[1.0.0](https://developer.android.com/jetpack/androidx/releases/window#1.0.0)  

```
val bounds: Rect
```

The bounding rectangle of the feature within the application window in the window coordinate space.