uk.ac.starlink.ttools.plot2.layer
Class LineXYShape
java.lang.Object
uk.ac.starlink.ttools.plot2.layer.XYShape
uk.ac.starlink.ttools.plot2.layer.LineXYShape
public class LineXYShape
- extends XYShape
XYShape for drawing lines that start at the origin and terminate
at the given X,Y displacement.
Singleton class.
- Since:
- 15 Jan 2015
- Author:
- Mark Taylor
Fields inherited from class uk.ac.starlink.ttools.plot2.layer.XYShape |
POINT |
createGlyph
protected Glyph createGlyph(short x,
short y)
- Description copied from class:
XYShape
- Constructs a new glyph with given coordinates.
- Specified by:
createGlyph
in class XYShape
- Parameters:
x
- X valuey
- Y value
- Returns:
- new glyph
getInstance
public static LineXYShape getInstance()
- Returns the sole instance of this class.
- Returns:
- singleton instance
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.