SKSizeI 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.
Stores an ordered pair of integers describing the width and height of a rectangle.
public struct SKSizeI
public struct SKSizeI : IEquatable<SkiaSharp.SKSizeI>
- Inheritance
-
SKSizeI
- Implements
Constructors
SKSizeI(Int32, Int32) |
Creates a new size with a given width and height. |
SKSizeI(SKPointI) |
Creates a new size from the offset of a point. |
Fields
Empty |
Represents a new instance of the SKSizeI class with member data left uninitialized. |
Properties
Height |
Gets or sets the vertical component of this SKSizeI structure. |
IsEmpty |
Gets a value that indicates whether this SKSizeI structure has zero width and height. |
Width |
Gets or sets the horizontal component of this SKSizeI structure. |
Methods
Add(SKSizeI, SKSizeI) |
Adds the width and height of one SKSizeI structure to the width and height of another SKSizeI structure. |
Equals(Object) |
Tests to see whether the specified object is a SKSizeI structure with the same dimensions as this SKSizeI structure. |
Equals(SKSizeI) |
Tests to see whether the specified object is a SKSizeI structure with the same dimensions as this SKSizeI structure. |
GetHashCode() |
Returns a hash code for this SKSizeI structure. |
Subtract(SKSizeI, SKSizeI) |
Subtracts the width and height of one SKSizeI structure from the width and height of another SKSizeI structure. |
ToPointI() | |
ToString() |
Converts this SKSizeI to a human readable string. |
Operators
Addition(SKSizeI, SKSizeI) |
Adds the width and height of one SKSizeI structure to the width and height of another SKSizeI structure. |
Equality(SKSizeI, SKSizeI) |
Tests whether two SKSizeI structures are equal. |
Explicit(SKSizeI to SKPointI) |
Converts the specified SKSizeI structure to a SKPointI structure. |
Inequality(SKSizeI, SKSizeI) |
Tests whether two SKSizeI structures are different. |
Subtraction(SKSizeI, SKSizeI) |
Subtracts the width and height of one SKSizeI structure from the width and height of another SKSizeI structure. |