Operator implicit operator
- Namespace
- Alternet.Drawing
- Assembly
- Alternet.UI.Common.dll
implicit operator SizeI((int, int))
Implicit operator convertion from tuple with two int values
to SizeI.
public static implicit operator SizeI((int, int) d)
Parameters
d
(int, int)
New size value.
Returns
- SizeI
implicit operator Size(SizeI)
Creates a Size with the coordinates of the
specified SizeI
public static implicit operator Size(SizeI p)
Parameters
p
SizeI
Returns
- Size
implicit operator SizeI(Size)
Creates a SizeI with the coordinates of the
specified Size
public static implicit operator SizeI(Size p)
Parameters
p
Size
Returns
- SizeI
implicit operator SizeD(SizeI)
public static implicit operator SizeD(SizeI p)
Parameters
p
SizeI
Returns
- SizeD
implicit operator SizeI(int)
Converts the specified int to a SizeI.
Width and height are set to the value
.
public static implicit operator SizeI(int value)
Parameters
value
int
Returns
- SizeI