Set Line Pattern
Purpose
The Set Line Pattern function specifies the repeating pattern with which lines are rendered.
Syntax
Opcode format | Opcode | Operand Format | Comments |
Extended ASCII | (LinePattern | <ws><TPattern>) | Defines how subsequent lines are rendered. |
Pattern An ASCII text string that describes the pattern with which to render subsequent lines
Details
The Set Line Pattern opcode specifies a pattern of dashes and dots with which subsequent lines are rendered. The attribute applies to lines, polylines, circular arcs, and elliptical arcs. The possible values for Pattern include the following:
---- Solid line
- - Simple dashed line
.... Dotted line
-.-. Line of alternating dashes and dots
-.. Line of alternating dashes and double-dots
-... Line of alternating dashes and triple-dots
-- -- Line of long dashes
center Line of alternating very-long-dashes and short-dashes
phantom Line of alternating very-long-dashes and double-short dashes
Notes
Line patterns are meant to be used as a visual cue only because the way line patterns are rendered is highly dependent upon the DWF reading application. Normally, a DWF reading application renders line patterns in screen space, such that the size of the pattern does not change as a user zooms-in on the drawing. If exact line patterns are required that synchronize with other geometric primitives in the drawing, then the DWF writing application should explicitly draw the individual dashes and dots required as a series of Draw Line calls.
Default
The default Line Pattern is a solid line and is equivalent to
(LinePattern ----)
Implementation in WHIP! Versions
Toolkit Function |
TBD |
Partial |
Full |
Revised in |
Set Line Pattern | - |
1.03 |
- | - |
See Also