Edit

Share via


SKSize Constructors

Definition

Overloads

Name Description
SKSize(SKPoint)

Initializes a new instance of the SKSize struct from the offset of a point.

SKSize(Single, Single)

Initializes a new instance of the SKSize struct with a given width and height.

SKSize(SKPoint)

Initializes a new instance of the SKSize struct 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)

Initializes a new instance of the SKSize struct with a given width and height.

public SKSize(float width, float height);

Parameters

width
Single

The width.

height
Single

The height.

Applies to