Table of Contents

Operator implicit operator

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

implicit operator RectD((double, double, double, double))

Implicit operator convertion from tuple with four values to RectD.

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

Parameters

d (double, double, double, double)

New rectangle value.

Returns

RectD

implicit operator SKRect(RectD)

Implicit operator convertion from RectD to SKRect.

public static implicit operator SKRect(RectD rect)

Parameters

rect RectD

Value to convert.

Returns

SKRect

implicit operator RectD(SKRect)

Implicit operator convertion from SKRect to RectD.

public static implicit operator RectD(SKRect value)

Parameters

value SKRect

Value to convert.

Returns

RectD

implicit operator RectD(Rectangle)

Creates a RectD with the properties of the specified Rectangle

public static implicit operator RectD(Rectangle p)

Parameters

p Rectangle

Returns

RectD

implicit operator Rectangle(RectD)

Creates a Rectangle with the properties of the specified RectD

public static implicit operator Rectangle(RectD p)

Parameters

p RectD

Returns

Rectangle

implicit operator RectangleF(RectD)

Creates a RectangleF with the properties of the specified RectD

public static implicit operator RectangleF(RectD p)

Parameters

p RectD

Returns

RectangleF

implicit operator RectD((PointD, SizeD))

Implicit operator convertion from tuple (PointD, Size) to RectD.

public static implicit operator RectD((PointD, SizeD) d)

Parameters

d (PointD, SizeD)

New rectangle value.

Returns

RectD

implicit operator RectD(RectI)

Converts the specified RectI to a RectD.

public static implicit operator RectD(RectI r)

Parameters

r RectI

Returns

RectD