ShapeWithStandardState
public protocol ShapeWithStandardState : AnyObject
Enhancement to Shape adding properties to match all UserSettings
properties. There is a convenience method apply(userSettings:) which updates
the shape to match the given values.
-
Declaration
Swift
var strokeColor: UIColor? { get set } -
Declaration
Swift
var fillColor: UIColor? { get set } -
Declaration
Swift
var strokeWidth: CGFloat { get set } -
apply(userSettings:Extension method) Declaration
Swift
public func apply(userSettings: UserSettings)
View on GitHub
ShapeWithStandardState Protocol Reference