|
AxisLimits | GetAxisLimits () |
| Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
|
|
virtual void | Render (RenderPack rp) |
| Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
|
|
|
Coordinates | Location [get, set] |
|
float | OffsetX [get, set] |
|
float | OffsetY [get, set] |
|
override LabelStyle | LabelStyle = new() { FontSize = 14 } [get, set] |
|
Alignment | Alignment [get, set] |
|
bool | IsVisible = true [get, set] |
| Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
|
|
IAxes | Axes = new Axes() [get, set] |
| This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
|
|
IEnumerable< LegendItem > | LegendItems [get] |
| Items which will appear in the legend.
|
|
Color | Color [get, set] |
|
Color | FontColor [get, set] |
|
Color | BackgroundColor [get, set] |
|
Color | BackColor [get, set] |
|
Color | BorderColor [get, set] |
|
float | BorderWidth [get, set] |
|
float | Padding [set] |
|
float | Size [get, set] |
|
float | FontSize [get, set] |
|
bool | Bold [get, set] |
|
float | Rotation [get, set] |
|
string | FontName [get, set] |
|
float? | LineSpacing [get, set] |
|
LabelStyle | LabelStyle [get, set] |
|
float | LabelOffsetX [get, set] |
|
float | LabelOffsetY [get, set] |
|
float | LabelRotation [get, set] |
|
float | LabelPadding [set] |
|
PixelPadding | LabelPixelPadding [get, set] |
|
PixelRect | LabelLastRenderPixelRect [get] |
|
string | LabelText [get, set] |
|
Alignment | LabelAlignment [get, set] |
|
string | LabelFontName [get, set] |
|
float | LabelFontSize [get, set] |
|
float? | LabelLineSpacing [get, set] |
|
bool | LabelItalic [get, set] |
|
bool | LabelBold [get, set] |
|
Color | LabelFontColor [get, set] |
|
Color | LabelBackgroundColor [get, set] |
|
float | LabelBorderRadius [get, set] |
|
float | LabelBorderRadiusX [get, set] |
|
float | LabelBorderRadiusY [get, set] |
|
float | LabelBorderWidth [get, set] |
|
Color | LabelBorderColor [get, set] |
|
Color | LabelShadowColor [get, set] |
|
PixelOffset | LabelShadowOffset [get, set] |
|
◆ GetAxisLimits()
AxisLimits ScottPlot.Plottables.Text.GetAxisLimits |
( |
| ) |
|
|
inline |
Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
Implements ScottPlot.IPlottable.
◆ Render()
virtual void ScottPlot.Plottables.Text.Render |
( |
RenderPack |
rp | ) |
|
|
inlinevirtual |
Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
Implements ScottPlot.IPlottable.
◆ Label
readonly LabelStyle ScottPlot.Plottables.Text.Label = null! |
◆ Alignment
Alignment ScottPlot.Plottables.Text.Alignment |
|
getset |
◆ Axes
IAxes ScottPlot.Plottables.Text.Axes = new Axes() |
|
getset |
This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
Implements ScottPlot.IPlottable.
◆ BackColor
Color ScottPlot.Plottables.Text.BackColor |
|
getset |
◆ BackgroundColor
Color ScottPlot.Plottables.Text.BackgroundColor |
|
getset |
◆ Bold
bool ScottPlot.Plottables.Text.Bold |
|
getset |
◆ BorderColor
Color ScottPlot.Plottables.Text.BorderColor |
|
getset |
◆ BorderWidth
float ScottPlot.Plottables.Text.BorderWidth |
|
getset |
◆ Color
Color ScottPlot.Plottables.Text.Color |
|
getset |
◆ FontColor
Color ScottPlot.Plottables.Text.FontColor |
|
getset |
◆ FontName
string ScottPlot.Plottables.Text.FontName |
|
getset |
◆ FontSize
float ScottPlot.Plottables.Text.FontSize |
|
getset |
◆ IsVisible
bool ScottPlot.Plottables.Text.IsVisible = true |
|
getset |
Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
Implements ScottPlot.IPlottable.
◆ LabelStyle
◆ LegendItems
◆ LineSpacing
float? ScottPlot.Plottables.Text.LineSpacing |
|
getset |
◆ Location
◆ OffsetX
float ScottPlot.Plottables.Text.OffsetX |
|
getset |
◆ OffsetY
float ScottPlot.Plottables.Text.OffsetY |
|
getset |
◆ Padding
float ScottPlot.Plottables.Text.Padding |
|
setadd |
◆ Rotation
float ScottPlot.Plottables.Text.Rotation |
|
getset |
◆ Size
float ScottPlot.Plottables.Text.Size |
|
getset |
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/Plottables/Text.cs