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