Struct POINT
POINT structure for calling native methods
Namespace: Dapplo.Windows.Common.Structs
Assembly: Dapplo.Windows.Common.dll
Syntax
public struct POINT
Constructors
| Improve this Doc View SourcePOINT(Int32, Int32)
Constructor with x and y coordinates
Declaration
public POINT(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x | int |
System.Int32 | y | int |
Properties
| Improve this Doc View SourceX
The X coordinate
Declaration
public int X { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Y
The Y coordinate
Declaration
public int Y { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Operators
| Improve this Doc View SourceImplicit(POINT to Point)
Implicit cast from POINT to Point
Declaration
public static implicit operator Point(POINT point)
Parameters
Type | Name | Description |
---|---|---|
POINT | point | POINT |
Returns
Type | Description |
---|---|
Point |
Implicit(POINT to System.Drawing.Point)
Implicit cast from POINT to System.Drawing.Point
Declaration
public static implicit operator System.Drawing.Point(POINT point)
Parameters
Type | Name | Description |
---|---|---|
POINT | point | POINT |
Returns
Type | Description |
---|---|
System.Drawing.Point |
Implicit(Point to POINT)
Implicit cast from Point to POINT
Declaration
public static implicit operator POINT(Point point)
Parameters
Type | Name | Description |
---|---|---|
Point | point | Point |
Returns
Type | Description |
---|---|
POINT |
Implicit(System.Drawing.Point to POINT)
Implicit cast from System.Drawing.Point to POINT
Declaration
public static implicit operator POINT(System.Drawing.Point point)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Point | point | System.Drawing.Point |
Returns
Type | Description |
---|---|
POINT |