User Tools

Site Tools


line_style

This is an old revision of the document!


Line Style

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.

Video Overview

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.

Dash Pattern

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.

  • If you have chosen a Basic Pattern Type, a dropdown menu will be presented that lets you select from one of the following options:
Option Description Example
Solid Draws a solid outline without dashing. The default setting.
DashDot Draws a dashed outline with a “dash-dot” pattern.
DashDotDot Draws a dashed outline with a “dash-dot-dot” pattern.
Dot Draws a finely dotted outline.
Dash Draws a dashed outline.
  • If you have chosen a Custom Pattern Type, then the Dash Style property will be displayed as a text box where you can enter your own custom dash pattern. Dash patterns are expressed as a comma-delimited list of pixel lengths. The first number represents the length of the first dash in the pattern. The next number represents the length of the first space after that dash, and so on. When the end of the sequence is reached, it repeats.

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.

Option Description Example
Flat Applies a flat cap to each end of a dash.
Round Applies a rounded cap to each end of a dash.
Triangle Applies a triangular (pointed) cap to each end of a dash.

Advanced

line_style.1443498335.txt.gz · Last modified: 2015/09/29 03:45 by admin