SKSize Constructors

Definition

Overloads

SKSize(SKPoint)

Creates a new size from the offset of a point.

SKSize(Single, Single)

Creates a new size with a given width and height.

SKSize(SKPoint)

Creates a new size from the offset of a point.

public SKSize (SkiaSharp.SKPoint pt);

Parameters

pt
SKPoint

The offset to use as the dimensions of the new point.

Applies to

SKSize(Single, Single)

Creates a new size with a given width and height.

public SKSize (float width, float height);

Parameters

width
Single

The width.

height
Single

The height.

Applies to