|Import Statement:||import Esri.ArcGISRuntime 100.8|
"Hatch lines" are uniformly spaced parallel lines. A HatchFillSymbolLayer, in a multilayer polygon symbol, fills the geometry of the symbol with the specified hatch lines. Each hatch line is itself a multilayer polyline symbol. You can define a custom hatch line (through the setPolyline and certain create methods) that is repeated in parallel throughout the inside of the geometry attatched to a multilayer polygon symbol's geometry.
The HatchFillSymbolLayer provides a similar experience to the SimpleFillSymbol, but with more customizability. Whereas you can select from a list of predefined hatch fill styles for a SimpleFillSymbol, the HatchFillSymbolLayer allows you to specify a fully-customized symbol to use as the hatch line. You can also adjust line angle, offset, and separation distance.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
The angle of rotation of the hatch lines in a HatchFillSymbolLayer, in degrees.
The hatch lines rotate counterclockwise from East.
The default value is
polyline : MultilayerPolylineSymbol
The distance between the line symbols in the hatch pattern in DIPs.
If there is no separation set, the method returns
5.3333 DIPs, converted from the internal default
4.0 points. Separation values must be non-negative.
Emitted when the angle property changes.
Emitted when the polyline property changes.
Emitted when the separation property changes.