Class FatMarkerShapes
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.FatMarkerShapes
MarkerShape implementations based on line drawings (open shapes,
crosses etc; not filled shapes) which have lines that are
thicker than the single-pixel traditionally provided.
A fatness parameter corresponds somewhat to the line thickness; it goes up in ones, and the idea is that the larger the number the fatter the lines, but for a given fatness the lines in all the shapes are about the same. Fatness zero corresponds nominally to the traditional single-pixel lines. The static shapes available here currently correspond to fatness 1.
Some fiddling is required to make it look OK in a bitmapped context, and in particular to make sure that bitmapped representations are centered on the given point rather than being half a pixel off.
- Since:
- 4 Dec 2019
- Author:
- Mark Taylor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MarkerShape
Open circle with thick line.static final MarkerShape
Plus-shaped marker with thick lines.static final MarkerShape
X-shaped marker with thick lines.static final MarkerShape
Open diamond with thick line.static final MarkerShape
Open square with thick line.static final MarkerShape
Open downward triangle with thick line.static final MarkerShape
Open upward triangle with thick line.static final int
Standard fatness measure; 0 corresponds to single-pixel lines. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
IFAT
public static final int IFATStandard fatness measure; 0 corresponds to single-pixel lines.- See Also:
-
FAT_CIRCLE
Open circle with thick line. -
FAT_SQUARE
Open square with thick line. -
FAT_DIAMOND
Open diamond with thick line. -
FAT_TRIANGLE_UP
Open upward triangle with thick line. -
FAT_TRIANGLE_DOWN
Open downward triangle with thick line. -
FAT_CROSS
Plus-shaped marker with thick lines. -
FAT_CROXX
X-shaped marker with thick lines.
-
-
Constructor Details
-
FatMarkerShapes
public FatMarkerShapes()
-