SKPointI 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.
Represents an ordered pair of integer x and ycoordinates that defines a point in a twodimensional plane.
public struct SKPointI
public struct SKPointI : IEquatable<SkiaSharp.SKPointI>
 Inheritance

SKPointI
 Implements
Constructors
SKPointI(Int32, Int32) 
Initializes a point from two floating point values. 
SKPointI(SKSizeI) 
Initializes a new instance of the SKPointI class from a SKSizeI. 
Fields
Empty 
Represents a new instance of the SKPointI class with member data left uninitialized. 
Properties
IsEmpty 
Gets a value indicating whether this SKPointI is empty. 
Length 
Gets the Euclidean distance from the origin (0, 0). 
LengthSquared 
Gets the Euclidean distance squared from the origin (0, 0). 
X 
Gets or sets the xcoordinate of this SKPointI. 
Y 
Gets or sets the ycoordinate of this SKPointI 
Methods
Add(SKPointI, SKPointI) 
Translates a given SKPointI by the specified point. 
Add(SKPointI, SKSizeI)  
Ceiling(SKPoint) 
Converts the specified SKPoint to a SKPointI by rounding the values of the SKPoint to the next higher integer values. 
Distance(SKPointI, SKPointI) 
Calculate the Euclidean distance between two points. 
DistanceSquared(SKPointI, SKPointI) 
Calculate the Euclidean distance squared between two points. 
Equals(Object) 
Specifies whether this SKPointI contains the same coordinates as the specified Object. 
Equals(SKPointI) 
Specifies whether this SKPointI contains the same coordinates as the specified SKPointI. 
GetHashCode() 
Calculates the hashcode for this point. 
Normalize(SKPointI) 
Returns a point with the same direction as the specified point, but with a length of one. 
Offset(Int32, Int32) 
Translates this SKPointI by the specified amount. 
Offset(SKPointI)  
Reflect(SKPointI, SKPointI) 
Returns the reflection of a point off a surface that has the specified normal. 
Round(SKPoint) 
Converts the specified SKPoint to a SKPointI object by rounding the SKPoint values to the nearest integer. 
Subtract(SKPointI, SKPointI) 
Returns the result of subtracting specified point from the specified SKPointI. 
Subtract(SKPointI, SKSizeI) 
Returns the result of subtracting specified SKSizeI from the specified SKPointI. 
ToString() 
Converts this SKPointI to a human readable string. 
Truncate(SKPoint) 
Converts the specified SKPoint to a SKPointI by truncating the values of the SKPoint. 
Operators
Addition(SKPointI, SKPointI) 
Translates a SKPointI by a given offset. 
Addition(SKPointI, SKSizeI)  
Equality(SKPointI, SKPointI) 
Determines whether the coordinates of the specified points are equal. 
Explicit(SKPointI to SKSizeI)  
Implicit(SKPointI to SKPoint)  
Inequality(SKPointI, SKPointI) 
Determines whether the coordinates of the specified points are not equal. 
Subtraction(SKPointI, SKPointI) 
Translates a SKPointI by the negative of a given point. 
Subtraction(SKPointI, SKSizeI) 