Struct ModelPoint
- Namespace
- ComOfficeKit.Model
- Assembly
- ComOfficeKit.dll
Apple's CGPoint, in the units of the member that holds it.
public readonly struct ModelPoint : IEquatable<ModelPoint>
- Implements
- Inherited Members
Constructors
ModelPoint(double, double)
Apple's CGPoint, in the units of the member that holds it.
public ModelPoint(double X, double Y)
Parameters
Properties
X
The horizontal coordinate.
public double X { get; init; }
Property Value
Y
The vertical coordinate.
public double Y { get; init; }
Property Value
Methods
Deconstruct(out double, out double)
public void Deconstruct(out double X, out double Y)
Parameters
Equals(ModelPoint)
public bool Equals(ModelPoint other)
Parameters
otherModelPoint
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ModelPoint, ModelPoint)
public static bool operator ==(ModelPoint left, ModelPoint right)
Parameters
leftModelPointrightModelPoint
Returns
operator !=(ModelPoint, ModelPoint)
public static bool operator !=(ModelPoint left, ModelPoint right)
Parameters
leftModelPointrightModelPoint