Set Line Weight
Purpose
The Set Line Weight function specifies the thickness with which lines are rendered.
Syntax
Opcode format | Opcode | Operand Format | Comments |
Extended ASCII | (LineWeight | <ws><IWeight>[<ws>]) | Defines how subsequent lines are rendered |
Weight The thickness in logical coordinates that subsequent lines are drawn
Details
The Set Line Weight opcode specifies the thickness with which subsequent lines are rendered. The attribute applies to lines, polylines, circular arcs, and elliptical arcs. The units of the line weight attribute are logical coordinates, which are later transformed to screen coordinates by the DWF reading application.
Notes
Because a DWF reading application may view a large area of logical coordinate space, often a logical line weight is much smaller than a screen's pixel. The DWF reading application renders such lines a minimum of one screen pixel wide in all cases. A line weight of zero indicates that the line is always drawn one pixel wide in screen coordinates, no matter how much the user zooms in on the drawing.
Default
The default Line Weight is zero, which corresponds to a one-pixel wide line, and is equivalent to
(LineWeight 0)
Implementation in WHIP! Versions
Toolkit Function |
TBD |
Partial |
Full |
Revised in |
Set Line Weight |
- |
1.03 |
- |
- |
See Also
Draw Line, Draw Polyline/Polygon, Draw Circle/Circular Arc/Circular Wedge, Draw Ellipse/Elliptical Arc/Elliptical Wedge, Set Line Join, Set Line Pattern, and Set Line Cap.