Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Enumeration

ShapeRole

The Compose SwiftUI form of SwiftUI's ShapeRole.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS 10.0+
class ShapeRole

Overview

This is the Kotlin form of SwiftUI ShapeRole: SwiftUI documentation. In Swift it reads:

enum ShapeRole

Topics

Type properties

val fill: ShapeRole
SwiftUI ShapeRole.fill
val stroke: ShapeRole
SwiftUI ShapeRole.stroke
val separator: ShapeRole
SwiftUI ShapeRole.separator

Types

class ShapeRole
SwiftUI ShapeRole