HatchFillSymbolLayer constructor

HatchFillSymbolLayer({
  1. MultilayerPolylineSymbol? polylineSymbol,
  2. double angle = 0.0,
})

Create a hatch fill symbol layer, given a MultilayerPolylineSymbol and an angle.

The fill rotates counterclockwise from East. Angle values can be negative.

Parameters:

  • polylineSymbol — a MultilayerPolylineSymbol to use as the hatch line of the symbol layer. if not provided, the hatch fill will use a default solid black line symbol with the width 1.33.
  • angle — a float64 representing the angle to rotate the hatch lines, in degrees measured counterclockwise from East.