SKLattice 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.
public struct SKLattice : IEquatable<SkiaSharp.SKLattice>
- Inheritance
-
SKLattice
- Implements
Remarks
If the lattice divs or bounds are invalid, the entire lattice structure will be ignored on the draw call.
Properties
| Name | Description |
|---|---|
| Bounds |
Gets or sets the optional source image bounds. |
| Colors |
Gets or sets the array of fill types, one per rectangular grid entry. |
| RectTypes |
Gets or sets the color for each of the lattice rectangles. |
| XDivs |
Gets or sets the x-coordinates for the lattice. |
| YDivs |
Gets or sets the y-coordinates for the lattice. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to the current lattice. |
| Equals(SKLattice) |
Determines whether the specified SKLattice is equal to the current lattice. |
| GetHashCode() |
Returns the hash code for this instance. |
Operators
| Name | Description |
|---|---|
| Equality(SKLattice, SKLattice) |
Indicates whether two SKLattice objects are equal. |
| Inequality(SKLattice, SKLattice) |
Indicates whether two SKLattice objects are different. |