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. |
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기