Edytuj

Udostępnij za pośrednictwem


CGContext.AddEllipseInRect(CGRect) Method

Definition

Adds an ellipse that fits in the specified rect.

public void AddEllipseInRect (CoreGraphics.CGRect rect);
member this.AddEllipseInRect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

The bounding rectangle of the ellipse.

Remarks

The ellipse is centered in the rect, with major and minor axes defined such that the ellipse touches the rect's edges. The ellipse is a complete subpath, with control points specified in clockwise order.

Applies to