SKLattice Struct

Definition

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

public struct SKLattice
Inheritance
SKLattice

Remarks

If the lattice divs or bounds are invalid, the entire lattice structure will be ignored on the draw call.

Properties

Bounds

Gets or sets the optional source image bounds.

Colors

Gets or sets the array of fill types, one per rectangular grid entry.

Flags

Gets or sets the drawing options for each of the lattice rectangles.

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.

Applies to