The Line Style allows you to define how line features will be rendered on the map. Line styles offer numerous controls for color, gradient or pattern fills, dash patterns and many other properties.
Name - The name of the line style. Choosing a descriptive name can help you quickly identify styles when you are compositing many of them together.
Color - Controls the color and appearance of the line feature. The line can be filled with a color, gradient, hatch pattern or bitmapped texture.
Thickness - Sets the thickness of the line, in pixels.
Pattern Type - Selects whether to use a basic (predefined) dash pattern or create your own custom pattern. This selection governs the behavior of the Dash Style control.
Dash Style - Allows you to choose the dash style to be used.
As an example, a custom Dash Style of 3,1,8,1 would produce a dash pattern consisting of a 3-pixel dash, a 1-pixel space, an 8-pixel dash and then a 1-pixel space, repeated infinitely. The result would look like this: Dash Pattern - Custom Example.png Dash Cap - For lines thicker than 1 pixel, the Dash Cap controls how each end of a dash is capped.
X Offset - Sets the X offset of this style. A positive X offset will draw the style that many pixels to the right of the actual feature. A negative X offset will draw the style that many pixels to the left of the actual feature.
Y Offset - Sets the Y offset of this style. A positive Y offset will draw the style that many pixels below the actual feature. A negative Y offset will draw the style that many pixels above the actual feature.
Start Cap and End Cap - For lines thicker than 1 pixel, the Start Cap controls how the beginning of a line is capped, and the End Cap controls how the end of each line is capped. The following cap types are available:
Line Join - Determines what type of joint to draw at the point where one line ends and another begins. The following joint types are available:
Option | Description | Example |
---|---|---|
Miter | Joins lines with a mitered (sharp) edge. | |
Bevel | Joins lines with a beveled (squared off) edge. | |
Round | Joins lines with a rounded edge. |
Miter Limit - The maximum distance that a mitered joint can extend from the endpoints of a line. Reducing the miter limit may produce clipped corners. Only applies if a Line Join of “Miter” is selected.
Drawing Level - Forces this style to draw on a specific drawing level. The GIS Editor has a set of internal drawing levels that can be used to set rendering priority for certain styles. For example, labels are set to use the highest drawing level by default, so that they always appear on top of other map features regardless of what layer they're on. This enables you to add styles to any layer without worrying about them being covered up by other layers above them.