|
Engauge Digitizer
2
|
Details for a specific Point. More...
#include <PointStyle.h>
Public Member Functions | |
| PointStyle () | |
| Default constructor only for use when this class is being stored by a container that requires the default constructor. | |
| PointStyle (PointShape pointShape, unsigned int radius, int lineWidth, ColorPalette paletteColor) | |
| Normal constructor. The style type and radius are determined by the currently selected Curve. | |
| PointStyle (const PointStyle &other) | |
| Copy constructor. | |
| PointStyle & | operator= (const PointStyle &other) |
| Assignment constructor. | |
| bool | isCircle () const |
| Return true if point is a circle, otherwise it is a polygon. For a circle, the radius is important and no polygon is needed from this class. | |
| int | lineWidth () const |
| Get method for line width. | |
| void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. Returns the curve name. | |
| ColorPalette | paletteColor () const |
| Get method for point color. | |
| QPolygonF | polygon () const |
| Return the polygon for creating a QGraphicsPolygonItem. The size is determined by the radius. | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es) | |
| int | radius () const |
| Radius of point. For a circle this is all that is needed to draw a circle. For a polygon, the radius determines the size of the polygon. | |
| void | saveXml (QXmlStreamWriter &writer) const |
| Serialize to stream. | |
| void | setLineWidth (int width) |
| Set method for line width. | |
| void | setPaletteColor (ColorPalette paletteColor) |
| Set method for point color. | |
| void | setRadius (int radius) |
| Set method for point radius. | |
| void | setShape (PointShape shape) |
| Set method for point shape. | |
| PointShape | shape () const |
| Get method for point shape. | |
Static Public Member Functions | |
| static PointStyle | defaultAxesCurve () |
| Initial default for axes curve. | |
| static PointStyle | defaultGraphCurve (int index) |
| Initial default for index'th graph curve. | |
Details for a specific Point.
Definition at line 14 of file PointStyle.h.
1.8.9.1