|
float | Measure () |
| Return the size (in pixels) of the panel in the dimension perpendicular to the edge it lays on.
|
|
void | Render (RenderPack rp, float size, float offset) |
| Draw this panel on a canvas.
|
|
PixelRect | GetPanelRect (PixelRect dataRect, float size, float offset) |
| Return the rectangle for this panel.
|
|
|
bool | IsVisible = true [get, set] |
| If false, the panel will not be displayed or report any size.
|
|
Edge | Edge [get, set] |
| Indicates which edge of the data rectangle this panel lays on.
|
|
bool | ShowDebugInformation = false [get, set] |
| Enable this to display extra information on the axis to facilitate development.
|
|
float | MinimumSize = 0 [get, set] |
| Disallow the panel to be smaller than this.
|
|
float | MaximumSize = float.MaxValue [get, set] |
| Disallow the panel to be larger than this.
|
|
◆ GetPanelRect()
PixelRect ScottPlot.Panels.PanelBase.GetPanelRect |
( |
PixelRect |
dataRect, |
|
|
float |
size, |
|
|
float |
offset |
|
) |
| |
|
inline |
◆ Measure()
float ScottPlot.Panels.PanelBase.Measure |
( |
| ) |
|
|
abstract |
Return the size (in pixels) of the panel in the dimension perpendicular to the edge it lays on.
- Returns
Implements ScottPlot.IPanel.
◆ Render()
void ScottPlot.Panels.PanelBase.Render |
( |
RenderPack |
rp, |
|
|
float |
size, |
|
|
float |
offset |
|
) |
| |
|
abstract |
Draw this panel on a canvas.
- Parameters
-
surface | contains the canvas to draw on |
dataRect | dimensions of the data area (pixel units) |
size | size of this panel (pixel units) |
offset | distance from the edge of this panel to the edge of the data area |
Implements ScottPlot.IPanel.
◆ Edge
Edge ScottPlot.Panels.PanelBase.Edge |
|
getset |
Indicates which edge of the data rectangle this panel lays on.
Implements ScottPlot.IPanel.
◆ IsVisible
bool ScottPlot.Panels.PanelBase.IsVisible = true |
|
getset |
If false, the panel will not be displayed or report any size.
Implements ScottPlot.IPanel.
◆ MaximumSize
float ScottPlot.Panels.PanelBase.MaximumSize = float.MaxValue |
|
getset |
◆ MinimumSize
float ScottPlot.Panels.PanelBase.MinimumSize = 0 |
|
getset |
◆ ShowDebugInformation
bool ScottPlot.Panels.PanelBase.ShowDebugInformation = false |
|
getset |
Enable this to display extra information on the axis to facilitate development.
Implements ScottPlot.IPanel.
The documentation for this class was generated from the following file:
- ScottPlot/src/ScottPlot5/ScottPlot5/Panels/PanelBase.cs