Represents a point in a Cartesian coordinate system.
| C# | Visual Basic | Visual C++ |
public struct CGPoint : IEquatable<CGPoint>
Public Structure CGPoint _ Implements IEquatable(Of CGPoint)
public value class CGPoint : IEquatable<CGPoint>
| All Members | Constructors | Methods | Fields | ||
| Icon | Member | Description |
|---|---|---|
| CGPoint(Single, Single) |
Initializes a new instance of the CGPoint class.
| |
| Add(CGPoint, CGSize) |
Translates the point by the specified size.
| |
| Addition(CGPoint, CGSize) |
Implements the operator +.
| |
| CGPOINT_2_CGPoint64 | ||
| CGPOINT64_2_CGPoint | ||
| CGPointEqualToPoint(CGPoint, CGPoint) |
Indicates whether two points are equal.
| |
| CGPointMake(Single, Single) |
Returns a point structure constructed from coordinate values you provide.
| |
| CGPointZero |
A CGRect with its x and y set to zero.
| |
| Equality(CGPoint, CGPoint) |
Implements the operator ==.
| |
| Equals(CGPoint) |
Equalses the specified ns point.
| |
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueType.Equals(Object).) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Returns the hash code for this instance.
(Overrides ValueType.GetHashCode()()()().) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Inequality(CGPoint, CGPoint) |
Implements the operator !=.
| |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Substract(CGPoint, CGSize) |
Translates the point by the specified size.
| |
| Substract(CGPoint, CGPoint) |
Computes the size between the two points. The values are always positives.
| |
| Subtraction(CGPoint, CGSize) |
Implements the operator -.
| |
| Subtraction(CGPoint, CGPoint) |
Implements the operator -.
| |
| ToString()()()() |
Returns the a string representation of this instance.
(Overrides ValueType.ToString()()()().) | |
| x |
The x coordinate.
| |
| y |
The y coordinate.
|
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)