SwiftGraphicsContext
public class SwiftGraphicsContext
Holds values related to how objects should be drawn
-
Returns the current
DrawingContext
, if anyDeclaration
Swift
public static var current: DrawingContext?
-
Color of the outline of the shape
Declaration
Swift
public static var strokeColor: Color
-
Color of the fill of the shape
Declaration
Swift
public static var fillColor: Color
-
Weight of the outline of the shape
Declaration
Swift
public static var strokeWeight: Double
-
Color blending mode
Declaration
Swift
public static var blendMode: BlendMode