Class StrokeXYShape
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.XYShape
uk.ac.starlink.ttools.plot2.layer.StrokeXYShape
XYShape that draws a line using a Stroke object.
This is less efficient than LineXYShape, but it can draw lines with
more than 1-pixel thickness.
- Since:
- 23 Jul 2018
- Author:
- Mark Taylor
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GlyphcreateGlyph(short sx, short sy) Constructs a new glyph with given coordinates.Returns the stroke used by this shape.
-
Constructor Details
-
StrokeXYShape
-
-
Method Details
-
getStroke
-
createGlyph
Description copied from class:XYShapeConstructs a new glyph with given coordinates.- Specified by:
createGlyphin classXYShape- Parameters:
sx- X valuesy- Y value- Returns:
- new glyph
-