Public Types | |
enum | MarkerType { Cross1, Cross2, Circle, Square, Triangle, TriangleUp, TriangleDown, Diamond, FilledCircle, FilledSquare, FilledTriangle, Flag, FlagUp, FlagDown, None } |
Enumeration of all different types of marker. More... | |
Public Member Functions | |
Marker () | |
Default constructor. | |
Marker (MarkerType markertype) | |
Constructor. | |
Marker (MarkerType markertype, int size) | |
Constructor. | |
Marker (MarkerType markertype, int size, Color color) | |
Constructor. | |
Marker (MarkerType markertype, int size, Pen pen) | |
Constructor. | |
Marker (MarkerType markertype, int size, Pen pen, bool fill) | |
Constructor. | |
void | Draw (Graphics g, int x, int y) |
Draws the marker at the given position. | |
Properties | |
MarkerType | Type |
The type of marker. | |
bool | DropLine |
Whether or not to draw a dropline. | |
int | Size |
The marker size. | |
Brush | FillBrush |
The brush used to fill the marker. | |
bool | Filled |
Fill with color. | |
System.Drawing.Color | Color |
Sets the pen color and fill brush to be solid with the specified color. | |
System.Drawing.Pen | Pen |
The Pen used to draw the marker. | |
Private Attributes | |
MarkerType | markerType_ |
int | size_ |
int | h_ |
System.Drawing.Pen | pen_ = new Pen( Color.Black ) |
System.Drawing.Brush | brush_ = new SolidBrush( Color.Black ) |
bool | filled_ = false |
bool | dropLine_ = false |
Definition at line 62 of file Marker.cs.
|
|
Default constructor.
Definition at line 258 of file Marker.cs. References filled_, markerType_, and Size. |
|
Constructor.
Definition at line 270 of file Marker.cs. References filled_, markerType_, and Size. |
|
Constructor.
Definition at line 282 of file Marker.cs. References filled_, markerType_, and Size. |
|
Constructor.
Definition at line 296 of file Marker.cs. References Color, filled_, markerType_, and Size. |
|
Constructor.
Definition at line 311 of file Marker.cs. References filled_, markerType_, Pen, and Size. |
|
Constructor.
Definition at line 327 of file Marker.cs. References filled_, markerType_, Pen, and Size. |
|
Draws the marker at the given position.
Definition at line 343 of file Marker.cs. References brush_, filled_, h_, markerType_, pen_, and size_. Referenced by NPlot::PointPlot::Draw(), and NPlot::MarkerItem::Draw(). |
|
Definition at line 136 of file Marker.cs. Referenced by Draw(). |
|
|
|
|
|
Definition at line 134 of file Marker.cs. Referenced by Draw(). |
|
|
|
Definition at line 135 of file Marker.cs. Referenced by Draw(). |
|
Definition at line 133 of file Marker.cs. Referenced by Draw(). |
|
Sets the pen color and fill brush to be solid with the specified color.
Definition at line 226 of file Marker.cs. Referenced by Marker(). |
|
Whether or not to draw a dropline.
Definition at line 161 of file Marker.cs. Referenced by NPlot::PointPlot::Draw(). |
|
The brush used to fill the marker.
|
|
Fill with color.
|
|
The Pen used to draw the marker.
Definition at line 243 of file Marker.cs. Referenced by NPlot::PointPlot::Draw(), and Marker(). |
|
The marker size.
Definition at line 177 of file Marker.cs. Referenced by Marker(). |
|
The type of marker.
|