Contents

fillEllipse(in:)

Paints the area of the ellipse that fits inside the provided rectangle, using the fill color in the current graphics state.

Declaration

func fillEllipse(in rect: CGRect)

Parameters

  • rect:

    A rectangle that defines the area for the ellipse to fit in.

Discussion

The current path is cleared as a side effect of calling this function.

See Also

Drawing Shapes