Stay organized with collections
Save and categorize content based on your preferences.
CornerPathEffect
open class CornerPathEffect : PathEffect
Summary
Public constructors |
Transforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius.
|
Public constructors
CornerPathEffect
CornerPathEffect(radius: Float)
Transforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius.
Parameters |
radius |
Float: Amount to round sharp angles between line segments. |
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-02-10 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-02-10 UTC."],[],[],null,["# CornerPathEffect\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nCornerPathEffect\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/graphics/CornerPathEffect \"View this page in Java\") \n\n```\nopen class CornerPathEffect : PathEffect\n```\n\n|---|---|----------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||\n| ↳ | [android.graphics.PathEffect](/reference/kotlin/android/graphics/PathEffect) ||\n| | ↳ | [android.graphics.CornerPathEffect](#) |\n\nSummary\n-------\n\n| Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [CornerPathEffect](#CornerPathEffect(kotlin.Float))`(`radius:` `[Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`)` Transforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius. |\n\n| Inherited functions ||\n|---|---|\n| From class [PathEffect](/reference/kotlin/android/graphics/PathEffect) |------------------------------------------------------------------------------|---------------------------------------------------------------------------------| | [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [finalize](/reference/kotlin/android/graphics/PathEffect#finalize())`()` \u003cbr /\u003e | ||\n\nPublic constructors\n-------------------\n\n### CornerPathEffect\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nCornerPathEffect(radius: Float)\n```\n\nTransforms geometries that are drawn (either STROKE or FILL styles) by replacing any sharp angles between line segments into rounded angles of the specified radius.\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------|\n| `radius` | [Float](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html): Amount to round sharp angles between line segments. |"]]