# SKPointI Struct

## Definition

Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional plane.

``public struct SKPointI``
Inheritance
SKPointI

## Constructors

 SKPointI(SKSizeI) Initializes a new instance of the SKPointI class from a SKSizeI. SKPointI(Int32, Int32) Initializes a point from two floating point values.

## 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 x-coordinate of this SKPointI. Y Gets or sets the y-coordinate of this SKPointI

## Methods

 Add(SKPointI, SKPointI) Translates a given SKPointI by the specified point. Add(SKPointI, SKSizeI) Translates a given SKPointI by the specified 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. 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) Translates this SKPointI by the specified 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) Translates a SKPointI by a given SKSizeI. Equality(SKPointI, SKPointI) Determines whether the coordinates of the specified points are equal. Explicit(SKPointI to SKSizeI) Converts an SKPointI into an SKSizeI. Implicit(SKPointI to SKPoint) Converts an SKPointI into an SKPoint. Inequality(SKPointI, SKPointI) Determines whether the coordinates of the specified points are not equal. Subtraction(SKPointI, SKSizeI) Translates a SKPointI by the negative of a given SKSizeI. Subtraction(SKPointI, SKPointI) Translates a SKPointI by the negative of a given point.