casa
5.7.0-16
|
Abstract class for area fill. More...
#include <PlotOptions.h>
Public Types | |
enum | Pattern { FILL, MESH1, MESH2, MESH3, NOFILL } |
Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum. More... | |
Public Member Functions | |
PlotAreaFill () | |
Constructor. More... | |
virtual | ~PlotAreaFill () |
Destructor. More... | |
virtual PlotColorPtr | color () const =0 |
ABSTRACT METHODS //. More... | |
virtual void | setColor (const PlotColor &color)=0 |
Sets the area fill color to the given. More... | |
virtual Pattern | pattern () const =0 |
Returns the pattern for this area fill. More... | |
virtual void | setPattern (Pattern pattern)=0 |
Sets the pattern for this area fill to the given. More... | |
virtual void | setPattern (const casacore::String &descriptor) |
virtual void | setColor (const PlotColorPtr c) |
CONVENIENCE METHODS //. More... | |
virtual void | setColor (const casacore::String &co) |
virtual casacore::Record | toRecord () const |
RECORD METHODS //. More... | |
virtual void | fromRecord (const casacore::Record &record) |
virtual PlotAreaFill & | operator= (const PlotAreaFill &rh) |
OPERATORS //. More... | |
virtual bool | operator== (const PlotAreaFill &rh) const |
Returns true if this PlotAreaFill is equal to the given; false otherwise. More... | |
virtual bool | operator!= (const PlotAreaFill &rh) const |
Returns true if this PlotAreaFill is NOT equal to the given; false otherwise. More... | |
Static Protected Attributes | |
static const casacore::String | REC_COLOR |
casacore::Record key names. More... | |
static const casacore::String | REC_PATTERN |
Abstract class for area fill.
An area fill consists of a color and a pattern.
Definition at line 296 of file PlotOptions.h.
Pattern enum, similar in spirit to http://doc.trolltech.com/4.3/qt.html#BrushStyle-enum.
Enumerator | |
---|---|
FILL | |
MESH1 | |
MESH2 | |
MESH3 | |
NOFILL |
Definition at line 300 of file PlotOptions.h.
casa::PlotAreaFill::PlotAreaFill | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
ABSTRACT METHODS //.
Returns a copy of the color in this area fill.
|
virtual |
|
virtual |
Returns true if this PlotAreaFill is NOT equal to the given; false otherwise.
|
virtual |
OPERATORS //.
Assigns the value of the given PlotAreaFill to this one.
|
virtual |
Returns true if this PlotAreaFill is equal to the given; false otherwise.
|
pure virtual |
Returns the pattern for this area fill.
|
pure virtual |
Sets the area fill color to the given.
|
virtual |
CONVENIENCE METHODS //.
Convenience methods for setting color.
|
virtual |
|
pure virtual |
Sets the pattern for this area fill to the given.
|
virtual |
|
virtual |
RECORD METHODS //.
Gets/Sets the color as a Record.
|
staticprotected |
casacore::Record key names.
Definition at line 360 of file PlotOptions.h.
|
staticprotected |
Definition at line 361 of file PlotOptions.h.