Instance Property

fillColor

The color used to fill the shape.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
var fillColor: UIColor { get set }
macOS
var fillColor: NSColor { get set }

Discussion

The default fill color is [SKColor clearColor], which means the shape is not filled.

See Also

Filling a Shape

var fillTexture: SKTexture?

The texture used to fill the shape.