Inheritance diagram for NPlot::TextItem:
Public Member Functions | |
TextItem (PointD position, string text) | |
Constructor. | |
void | Draw (System.Drawing.Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draws the text on a plot surface. | |
Properties | |
string | Text |
Text associated. | |
string | text_ = "" |
PointD | Start |
The starting point for the text. | |
PointD | start_ |
Brush | TextBrush |
The brush used to draw the text. | |
Color | TextColor |
Set the text to be drawn with a solid brush of this color. | |
Font | TextFont |
The font used to draw the text associated with the arrow. | |
Brush | textBrush_ = new SolidBrush( Color.Black ) |
Pen | pen_ = new Pen( Color.Black ) |
Font | font_ |
Private Member Functions | |
void | Init () |
Definition at line 61 of file TextItem.cs.
|
Constructor.
Definition at line 74 of file TextItem.cs. |
|
Draws the text on a plot surface.
Definition at line 122 of file TextItem.cs. References font_, start_, text_, textBrush_, NPlot::PhysicalAxis::WorldToPhysical(), NPlot::PointD::X, and NPlot::PointD::Y. |
|
Definition at line 63 of file TextItem.cs. References font_. Referenced by TextItem(). |
|
Definition at line 176 of file TextItem.cs. |
|
Definition at line 175 of file TextItem.cs. |
|
The starting point for the text.
Definition at line 103 of file TextItem.cs. |
|
Definition at line 113 of file TextItem.cs. Referenced by Draw(), and TextItem(). |
|
Text associated.
Definition at line 86 of file TextItem.cs. |
|
Definition at line 96 of file TextItem.cs. Referenced by Draw(), and TextItem(). |
|
The brush used to draw the text.
Definition at line 136 of file TextItem.cs. |
|
Definition at line 174 of file TextItem.cs. Referenced by Draw(). |
|
Set the text to be drawn with a solid brush of this color.
Definition at line 152 of file TextItem.cs. |
|
The font used to draw the text associated with the arrow.
Definition at line 163 of file TextItem.cs. |