Initializer
init(ellipseAt:radius1:radius2:transform:) ellipseWithCenter:radius1:radius2:angle: ellipseWithCenter_radius1_radius2_angle_
Creates a closed cubic path approximating an ellipse.
Declaration
convenience init?(
ellipseAt center: NSPoint,
radius1 a: CGFloat,
radius2 b: CGFloat,
transform theta: CGFloat
)Declaration
+ (instancetype) ellipseWithCenter:(NSPoint) center
radius1:(CGFloat) a
radius2:(CGFloat) b
angle:(CGFloat) theta;Declaration
ellipseWithCenter_radius1_radius2_angle_(
center: NSPoint,
a: float,
b: float,
theta: float
) -> GSPathDiscussion
The angle is measured in radians.
Returns nil when both radii are zero.
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 an ellipse inside the rectangle.
Creates a closed cubic path approximating a circle.