Specialization of PlotShape for a line. More...
#include <PlotShape.h>
Public Member Functions | |
| PlotShapeLine () | |
| Constructor. | |
| virtual | ~PlotShapeLine () |
| Destructor. | |
| virtual void | setLineCoordinates (double location, PlotAxis axis)=0 |
| Sets the line location to the given. | |
| virtual double | location () const =0 |
| Returns the line location. | |
| virtual PlotAxis | axis () const =0 |
| Returns the line axis. | |
Specialization of PlotShape for a line.
A line consists of an axis and a location. For example, a line at 5 on the X_BOTTOM axis would draw a continuous line at x = 5. Getting/setting coordinates MUST be in the order: [location], where location has the value for x for X_BOTTOM or X_TOP or as y for Y_LEFT or Y_RIGHT and is in world coordinates.
Definition at line 187 of file PlotShape.h.
| casa::PlotShapeLine::PlotShapeLine | ( | ) | [inline] |
Constructor.
Definition at line 190 of file PlotShape.h.
| virtual casa::PlotShapeLine::~PlotShapeLine | ( | ) | [inline, virtual] |
Destructor.
Definition at line 193 of file PlotShape.h.
| virtual PlotAxis casa::PlotShapeLine::axis | ( | ) | const [pure virtual] |
Returns the line axis.
| virtual double casa::PlotShapeLine::location | ( | ) | const [pure virtual] |
Returns the line location.
| virtual void casa::PlotShapeLine::setLineCoordinates | ( | double | location, | |
| PlotAxis | axis | |||
| ) | [pure virtual] |
Sets the line location to the given.
1.6.1