Edit

Share via


SKLattice Struct

Definition

Specifies coordinates to divide a bitmap into (XDivs * YDivs) rectangles.

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.

Applies to