Bearbeiten

Freigeben über


SKCanvas.DrawOval Method

Definition

Overloads

DrawOval(Single, Single, Single, Single, SKPaint)

Draws an oval on the canvas.

DrawOval(SKPoint, SKSize, SKPaint)

Draws an oval on the canvas.

DrawOval(SKRect, SKPaint)

Draws an oval on the canvas.

DrawOval(Single, Single, Single, Single, SKPaint)

Draws an oval on the canvas.

public void DrawOval (float cx, float cy, float rx, float ry, SkiaSharp.SKPaint paint);

Parameters

cx
Single

The center x-coordinate.

cy
Single

The center y-coordinate.

rx
Single

The vertical radius for the oval.

ry
Single

The horizontal radius for the oval.

paint
SKPaint

The paint to use when drawing the oval.

Applies to

DrawOval(SKPoint, SKSize, SKPaint)

Draws an oval on the canvas.

public void DrawOval (SkiaSharp.SKPoint c, SkiaSharp.SKSize r, SkiaSharp.SKPaint paint);

Parameters

c
SKPoint

The center coordinates.

r
SKSize

The radius for the oval.

paint
SKPaint

The paint to use when drawing the oval.

Applies to

DrawOval(SKRect, SKPaint)

Draws an oval on the canvas.

public void DrawOval (SkiaSharp.SKRect rect, SkiaSharp.SKPaint paint);

Parameters

rect
SKRect

The bounding box for the oval.

paint
SKPaint

The paint to use when drawing the oval.

Applies to