Skip To Content ArcGIS for Developers Sign In Dashboard

HatchFillSymbolLayer QML Type

A HatchFillSymbolLayer represents a polygon geometry filled with hatch lines. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.5
Inherits:

FillSymbolLayer

Properties

Signals

Detailed Description

"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.

TypeDefault Property
HatchFillSymbolLayerpolyline

Property Documentation

angle : double

The angle of rotation of the hatch lines in a HatchFillSymbolLayer, in degrees.

The hatch lines rotate counterclockwise from East.

The default value is 0.0.


The polyline symbol used to symbolize the hatch lines of a HatchFillSymbolLayer.

If no polyline is set, the property returns a default polyline containing a single SolidStrokeSymbolLayer, with width of 1.3333 DIPs (1.0 points) and opaque gray color.


separation : double

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.


Signal Documentation

angleChanged()

Emitted when the angle property changes.


polylineChanged()

Emitted when the polyline property changes.


separationChanged()

Emitted when the separation property changes.



Feedback on this topic?