Struct Eina.Size2D
A 2D size in pixels.
Constructors
Size2D(Int32, Int32)
Constructor for Size2D.
Declaration
public Size2D(int W = 0, int H = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | W | X position in pixels, from the top-left corner. |
System.Int32 | H | Y position in pixels, from the top-left corner. |
Fields
H
Y position in pixels, from the top-left corner.
Declaration
public int H
Field Value
Type | Description |
---|---|
System.Int32 |
W
X position in pixels, from the top-left corner.
Declaration
public int W
Field Value
Type | Description |
---|---|
System.Int32 |
Operators
Implicit(IntPtr to Size2D)
Implicit conversion to the managed representation from a native pointer.
Declaration
public static implicit operator Size2D(IntPtr ptr)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | ptr | Native pointer to be converted. |
Returns
Type | Description |
---|---|
Eina.Size2D |