Interface LineSymbolizer

A LineSymbolizer describes the style representation of LINESTRING data.

Hierarchy

Properties

blur?: number | GeoStylerNumberFunction
cap?: "square" | "butt" | "round" | GeoStylerStringFunction

The Captype for the LineSymbolizer.

color?: string | GeoStylerStringFunction

A color defined as a hex-color string.

dashOffset?: number | GeoStylerNumberFunction

Number of pixels into the dasharray to offset the drawing of the dash, used to shift the location of the lines and gaps in a dash.

dasharray?: (number | GeoStylerNumberFunction)[]

Encodes a dash pattern as an array of numbers. Odd-indexed numbers (first, third, etc) determine the length in pixels to draw the line, and even-indexed numbers (second, fourth, etc) determine the length in pixels to blank out the line. Default is an unbroken line.

gapWidth?: number | GeoStylerNumberFunction

Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap (pixels if gapWidthUnit is not defined).

gapWidthUnit?: DistanceUnit

Unit to use for the gapWidth.

gradient?: any[]

Defines a gradient with which to color a line feature.

graphicFill?: PointSymbolizer

Renders the pixels of the line with a repeated pattern.

graphicStroke?: PointSymbolizer

Renders the line with a repeated linear PointSymbolizer.

join?: "round" | "bevel" | "miter" | GeoStylerStringFunction

The JoinType for the LineSymbolizer.

kind: "Line"

Describes the type of the kind of the Symbolizer.

miterLimit?: number | GeoStylerNumberFunction

Used to automatically convert miter joins to bevel joins for sharp angles.

opacity?: number | GeoStylerNumberFunction

Determines the total opacity for the Symbolizer. A value between 0 and 1. 0 is none opaque and 1 is full opaque.

perpendicularOffset?: number | GeoStylerNumberFunction

If present, it makes the renderer draw a line parallel to the original one, at the given distance. When applied on lines, positive values generate a parallel line on the left hand side, negative values on the right hand side.

roundLimit?: number | GeoStylerNumberFunction

Used to automatically convert round joins to miter joins for shallow angles.

spacing?: number | GeoStylerNumberFunction

Distance between two symbol anchors (pixels if spacingUnit is not defined).

spacingUnit?: "em" | DistanceUnit

Unit to use for the spacing. 'em' -> fontsize

visibility?: boolean | GeoStylerBooleanFunction

Defines whether the Symbolizer should be visibile or not.

width?: number | GeoStylerNumberFunction

The width of the Line (pixels if widthUnit is not defined).

widthUnit?: DistanceUnit

Unit to use for the width.

Generated using TypeDoc