Struct SKPoint
Namespace: SkiaSharp
Assembly: VelloSharp.Skia.Core.dll
public struct SKPoint : IEquatable<SKPoint>
Implements
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
SKPoint(float, float)
public SKPoint(float x, float y)
Parameters
x float
y float
Properties
X
public float X { readonly get; set; }
Property Value
Y
public float Y { readonly get; set; }
Property Value
Methods
Equals(SKPoint)
Indicates whether the current object is equal to another object of the same type.
public readonly bool Equals(SKPoint other)
Parameters
other SKPoint
An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override readonly bool Equals(object? obj)
Parameters
obj object?
The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override readonly int GetHashCode()
Returns
A 32-bit signed integer that is the hash code for this instance.
Operators
operator ==(SKPoint, SKPoint)
public static bool operator ==(SKPoint left, SKPoint right)
Parameters
left SKPoint
right SKPoint
Returns
implicit operator Vector2(SKPoint)
public static implicit operator Vector2(SKPoint point)
Parameters
point SKPoint
Returns
operator !=(SKPoint, SKPoint)
public static bool operator !=(SKPoint left, SKPoint right)
Parameters
left SKPoint
right SKPoint