Skip to content

Latest commit

 

History

History
109 lines (91 loc) · 4.21 KB

File metadata and controls

109 lines (91 loc) · 4.21 KB

Appendix I - Markers

Marker Styles and Constants

A marker style constant can be created by combining some of the basic elements listed below (Root Type, Base, Fill, Half Tick and Tail).

Root Type Constant
Arrow Marker 0
ConcavedCurvedArrowMarker 1
CircleMarker 2
DimSlashMarker 3
DimCrossMarker 4
LassoMarker 5
HexagonMarker 6
VShapedMarker 7
ConeShapedMarker 8
TaperedVShapedMarker 9
SShapedMarker 10
RectangleMarker 11
DoubleLineMarker 12
Base (Only meaningful for ArrowMarker and ConcaveCurvedArrowMarker) Constant
FlatBaseMarker
OpenBaseMarker 1024
AngleBaseMarker 2048
ArcBaseMarker 3072
Fill Constant
LineColorMarker 0
WhiteFillMarker 128
NoFillMarker 256

Note: NoFillMarker is the only valid setting for LassoMarker, DimSlashMarker, and DimCrossMarker.

Tail (Meaningless for CircleMarker, DimCrossMarker, LassoMarker, HexagonMarker, ConeMarker, and RectangleMarker) Constant
TailMarker 32768
Half Tick (Meaningless for LassoMarker and ConeMarker) Constant
LeftHalfTickMarker 16384
RightHalfTickMarker 24576
Useful Composite Constants (Use these instead of Simple Constants) Constant
OpenBaseNoFillMarker 128
NoFillLassoMarker 261
NoFillDimSlashMarker 259
NoFillConeMarker 264
WhiteFillConeMarker 136
Examples Constant
Example 1 style = 2176 <=> 0 + 2048 + 128 (ArrowMarker + AngleBaseMarker + WhiteFillMarker)
Example 2 style = 16390 <=> 6 + 0 + 16384 (HexagonMarker + LineColorFillMarker + LeftHalfTickMarker)

Marker Thickness Basis and Unit

The marker thickness basis constant specifies the type and unit of the marker thickness to be set. A marker thickness basis constant is created by adding the thickness unit to the thickness basis. Note that the thickness value and unit are only meaningful for custom thickness.

Marker Thickness Basis Constant
Use Line Thickness 0
Use Dim Thickness 1
Custom Thickness 2
Marker Thickness Unit Constant
Mils 0
Points 16
Millimeters 32

Examples:

thicknessBasis = 34 <=> 2 + 32 (Custom thickness in Millimeters)
thicknessBasis = 18 <=> 2 + 16 (Custom thickness in Points)

Examples of Marker Styles:

Marker Style Example
0 Example
256 Example
1280 Example
2 Example
130 Example
259 Example
260 Example
2048 Example
17664 Example
261 Example
3073 Example
1281 Example
264 Example
34048 Example
16512 Example
16384 Example
9 Example
135 Example
32903 Example
266 Example
6 Example
128 Example