Initializer
init(rect:)pathWithRect:pathWithRect_
Creates a closed rectangular path enclosing the rectangle.
Declaration
convenience init?(rect: CGRect)Declaration
+ (instancetype) pathWithRect:(CGRect) rect;Declaration
pathWithRect_(rect: CGRect) -> GSPathDiscussion
Returns nil when the rectangle is empty or null.
See Also
Creating a Path
Creates a path from a Glyphs file dictionary representation.
Creates a path from the Glyphs file representation at the current parser position.
Creates a path from a sequence of node element strings.
Creates a closed cubic path approximating an ellipse inside the rectangle.
Creates a closed cubic path approximating a circle.
Creates a closed cubic path approximating an ellipse.