Initializer
init(ellipseIn:)circleWithRect:circleWithRect_
Creates a closed cubic path approximating an ellipse inside the rectangle.
Declaration
convenience init?(ellipseIn theRect: NSRect)Declaration
+ (instancetype) circleWithRect:(NSRect) theRect;Declaration
circleWithRect_(theRect: NSRect) -> 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 rectangular path enclosing the rectangle.
Creates a closed cubic path approximating a circle.
Creates a closed cubic path approximating an ellipse.