Table of Contents

Operator implicit operator

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

implicit operator SizeD(Size)

Creates a SizeD with the properties of the specified Size

public static implicit operator SizeD(Size p)

Parameters

p Size

Returns

SizeD

implicit operator Size(SizeD)

Creates a Size with the properties of the specified SizeD

public static implicit operator Size(SizeD p)

Parameters

p SizeD

Returns

Size

implicit operator SizeD((double, double))

Implicit operator convertion from tuple with two double values to SizeD.

public static implicit operator SizeD((double, double) d)

Parameters

d (double, double)

New size value.

Returns

SizeD

implicit operator SizeD(double)

Initializes SizeD with equal width and hegiht.

public static implicit operator SizeD(double widthAndHeight)

Parameters

widthAndHeight double

Returns

SizeD

implicit operator SizeD(int)

Initializes SizeD with equal width and hegiht.

public static implicit operator SizeD(int widthAndHeight)

Parameters

widthAndHeight int

Returns

SizeD