One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

FillStyle

struct · iOS 13.0+ · SDK 27.1

@frozen struct FillStyle

A style for rasterizing vector shapes.

Members (5)

init · iOS 13.0+

init

TypeScript
static init(eoFill?: boolean, antialiased?: boolean): FillStyle
Swift declaration
init(eoFill: Bool = false, antialiased: Bool = true)

Creates a new fill style with the specified settings. - Parameters: - eoFill: A Boolean value that indicates whether to use the even-odd rule for rendering a shape. Pass `false` to use the non-zero winding number rule instead. - antialiased: A Boolean value that indicates whether to use antialiasing when rendering the edges of a shape.

get · iOS 13.0+

isEOFilled

TypeScript
get isEOFilled(): boolean
Swift declaration
var isEOFilled: Bool

A Boolean value that indicates whether to use the even-odd rule when rendering a shape. When `isOEFilled` is `false`, the style uses the non-zero winding number rule.

set · iOS 13.0+

isEOFilled

TypeScript
set isEOFilled(value: boolean)
Swift declaration
var isEOFilled: Bool

A Boolean value that indicates whether to use the even-odd rule when rendering a shape. When `isOEFilled` is `false`, the style uses the non-zero winding number rule.

get · iOS 13.0+

isAntialiased

TypeScript
get isAntialiased(): boolean
Swift declaration
var isAntialiased: Bool

A Boolean value that indicates whether to apply antialiasing to the edges of a shape.

set · iOS 13.0+

isAntialiased

TypeScript
set isAntialiased(value: boolean)
Swift declaration
var isAntialiased: Bool

A Boolean value that indicates whether to apply antialiasing to the edges of a shape.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →