Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# Outline.Rounded\n===============\n\nArtifact: [androidx.compose.ui:ui-graphics](/jetpack/androidx/releases/compose-ui) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/ui/graphics/Outline.kt+class:androidx.compose.ui.graphics.Outline.Rounded) \nAdded in [1.0.0](/jetpack/androidx/releases/compose-ui#1.0.0)\nCommon/AllAndroid/JVM\n - Cmn \n\n ```\n class Outline.Rounded : Outline\n``` \n\n|---|---|----------------------------------------------------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||\n| ↳ | [androidx.compose.ui.graphics.Outline](/reference/kotlin/androidx/compose/ui/graphics/Outline) ||\n| | ↳ | [androidx.compose.ui.graphics.Outline.Rounded](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded) |\n\n*** ** * ** ***\n\nRectangular area with rounded corners.\n\nSummary\n-------\n\n| ### Public constructors |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| [Rounded](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded#Rounded(androidx.compose.ui.geometry.RoundRect))`(roundRect: `[RoundRect](/reference/kotlin/androidx/compose/ui/geometry/RoundRect)`)` | Cmn |\n\n| ### Public functions |\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|\n| `open operator `[Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html) | [equals](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded#equals(kotlin.Any))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` | Cmn |\n| `open `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [hashCode](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded#hashCode())`()` | Cmn |\n\n| ### Public properties |\n|-----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|-----|\n| `open `[Rect](/reference/kotlin/androidx/compose/ui/geometry/Rect) | [bounds](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded#bounds()) Return the bounds of the outline | Cmn |\n| [RoundRect](/reference/kotlin/androidx/compose/ui/geometry/RoundRect) | [roundRect](/reference/kotlin/androidx/compose/ui/graphics/Outline.Rounded#roundRect()) | Cmn |\n\nPublic constructors\n-------------------\n\n### Rounded\n\nCmn \nAdded in [1.0.0](/jetpack/androidx/releases/compose-ui#1.0.0) \n\n```\nRounded(roundRect: RoundRect)\n```\n\nPublic functions\n----------------\n\n### equals\n\nCmn \n\n```\nopen operator fun equals(other: Any?): Boolean\n``` \n\n### hashCode\n\nCmn \n\n```\nopen fun hashCode(): Int\n```\n\nPublic properties\n-----------------\n\n### bounds\n\nCmn \n\n```\nopen val bounds: Rect\n```\n\nReturn the bounds of the outline \n\n### roundRect\n\nCmn \nAdded in [1.0.0](/jetpack/androidx/releases/compose-ui#1.0.0) \n\n```\nval roundRect: RoundRect\n```"]]