CGPoint Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Structure defining a 2D point.
[System.Serializable]
public struct CGPoint : IEquatable<CoreGraphics.CGPoint>
[<System.Serializable>]
type CGPoint = struct
- Inheritance
-
CGPoint
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CGPoint(CGPoint) | |
| CGPoint(Double, Double) | |
| CGPoint(NFloat, NFloat) | |
| CGPoint(Single, Single) | |
Fields
| Name | Description |
|---|---|
| Empty | |
Properties
| Name | Description |
|---|---|
| IsEmpty | |
| X | |
| Y | |
Methods
| Name | Description |
|---|---|
| Add(CGPoint, CGSize) | |
| Deconstruct(NFloat, NFloat) | |
| Equals(CGPoint) | |
| Equals(Object) | |
| GetHashCode() | |
| Subtract(CGPoint, CGSize) | |
| ToCGPointDictionary() |
Serializes a CGPoint into a CGPointDictionary. |
| ToDictionary() |
Serializes a CGPoint into an NSDictionary. |
| ToString() | |
| TryParse(NSDictionary, CGPoint) |
Attempts to parse the contents of an NSDictionary with a serialized CGPoint into a CGPoint. |