BoundaryCommand

data class BoundaryCommand(val boundaryIndex: Int, val transform: Matrix44, val fill: ColorRGBa?, val stroke: ColorRGBa?, val strokeWeight: Double, val strokeMode: Int = 0)(source)

A command to draw a boundary from a BoundaryMap

Constructors

Link copied to clipboard
constructor(boundaryIndex: Int, transform: Matrix44, fill: ColorRGBa?, stroke: ColorRGBa?, strokeWeight: Double, strokeMode: Int = 0)

Properties

Link copied to clipboard

the index of the boundary in the BoundaryMap, as returned by BoundaryMap.addShape

Link copied to clipboard

the fill color, null for no fill

Link copied to clipboard

the stroke color, null for no stroke

Link copied to clipboard

0 for a stroke centered on the boundary, 1 for inside, 2 for outside, 3 to erode the fill

Link copied to clipboard

the weight of the stroke, in the space of the boundary

Link copied to clipboard

the transform of the boundary