ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
ScottPlot.Plottables.Ellipse Class Reference
Inheritance diagram for ScottPlot.Plottables.Ellipse:
ScottPlot.IPlottable ScottPlot.IHasLine ScottPlot.IHasFill ScottPlot.IHasLegendText

Public Member Functions

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.
 

Public Attributes

Coordinates Center = Coordinates.Origin
 

Protected Member Functions

virtual void RenderAnnulus (RenderPack rp, SKPaint paint, PixelRect rect)
 
virtual void RenderEllipse (RenderPack rp, SKPaint paint, PixelRect rect)
 

Properties

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< LegendItemLegendItems [get]
 Items which will appear in the legend.
 
LineStyle LineStyle = new() { Width = 1 } [get, set]
 
float LineWidth [get, set]
 
LinePattern LinePattern [get, set]
 
Color LineColor [get, set]
 
FillStyle FillStyle = new() { Color = Colors.Transparent } [get, set]
 
Color FillColor [get, set]
 
Color FillHatchColor [get, set]
 
IHatchFillHatch [get, set]
 
string Label [get, set]
 
string LegendText = string.Empty [get, set]
 If populated, this text appears in the legend.
 
double RadiusX [get, set]
 Horizontal radius (axis units)
 
double RadiusY [get, set]
 Horizontal radius (axis units)
 
double InnerRadiusX = 0 [get, set]
 Horizontal inner annular radius (axis units)
 
double InnerRadiusY = 0 [get, set]
 Horizontal inner annular radius (axis units)
 
Angle Rotation = Angle.FromDegrees(0) [get, set]
 Rotation of the ellipse (degrees)
 
bool IsAnnulus [get]
 
bool IsSector = true [get, set]
 if false, it is an elliptical arc If true, it is an elliptical sector;
 
Angle StartAngle = Angle.FromDegrees(0) [get, set]
 Start angle of elliptical arc or elliptical sector (degrees)
 
Angle SweepAngle = Angle.FromDegrees(360) [get, set]
 Sweep angle of elliptical arc or elliptical sector (degrees)
 
- Properties inherited from ScottPlot.IPlottable
- Properties inherited from ScottPlot.IHasLine
- Properties inherited from ScottPlot.IHasFill
- Properties inherited from ScottPlot.IHasLegendText

Member Function Documentation

◆ GetAxisLimits()

AxisLimits ScottPlot.Plottables.Ellipse.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.Ellipse.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.

◆ RenderAnnulus()

virtual void ScottPlot.Plottables.Ellipse.RenderAnnulus ( RenderPack  rp,
SKPaint  paint,
PixelRect  rect 
)
inlineprotectedvirtual

◆ RenderEllipse()

virtual void ScottPlot.Plottables.Ellipse.RenderEllipse ( RenderPack  rp,
SKPaint  paint,
PixelRect  rect 
)
inlineprotectedvirtual

Member Data Documentation

◆ Center

Coordinates ScottPlot.Plottables.Ellipse.Center = Coordinates.Origin

Property Documentation

◆ Axes

IAxes ScottPlot.Plottables.Ellipse.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.

◆ FillColor

Color ScottPlot.Plottables.Ellipse.FillColor
getset

Implements ScottPlot.IHasFill.

◆ FillHatch

IHatch? ScottPlot.Plottables.Ellipse.FillHatch
getset

Implements ScottPlot.IHasFill.

◆ FillHatchColor

Color ScottPlot.Plottables.Ellipse.FillHatchColor
getset

Implements ScottPlot.IHasFill.

◆ FillStyle

FillStyle ScottPlot.Plottables.Ellipse.FillStyle = new() { Color = Colors.Transparent }
getset

Implements ScottPlot.IHasFill.

◆ InnerRadiusX

double ScottPlot.Plottables.Ellipse.InnerRadiusX = 0
getset

Horizontal inner annular radius (axis units)

◆ InnerRadiusY

double ScottPlot.Plottables.Ellipse.InnerRadiusY = 0
getset

Horizontal inner annular radius (axis units)

◆ IsAnnulus

bool ScottPlot.Plottables.Ellipse.IsAnnulus
get

◆ IsSector

bool ScottPlot.Plottables.Ellipse.IsSector = true
getset

if false, it is an elliptical arc If true, it is an elliptical sector;

◆ IsVisible

bool ScottPlot.Plottables.Ellipse.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.

◆ Label

string ScottPlot.Plottables.Ellipse.Label
getset

◆ LegendItems

IEnumerable<LegendItem> ScottPlot.Plottables.Ellipse.LegendItems
get

Items which will appear in the legend.

Implements ScottPlot.IPlottable.

◆ LegendText

string ScottPlot.Plottables.Ellipse.LegendText = string.Empty
getset

If populated, this text appears in the legend.

Implements ScottPlot.IHasLegendText.

◆ LineColor

Color ScottPlot.Plottables.Ellipse.LineColor
getset

Implements ScottPlot.IHasLine.

◆ LinePattern

LinePattern ScottPlot.Plottables.Ellipse.LinePattern
getset

Implements ScottPlot.IHasLine.

◆ LineStyle

LineStyle ScottPlot.Plottables.Ellipse.LineStyle = new() { Width = 1 }
getset

Implements ScottPlot.IHasLine.

◆ LineWidth

float ScottPlot.Plottables.Ellipse.LineWidth
getset

Implements ScottPlot.IHasLine.

◆ RadiusX

double ScottPlot.Plottables.Ellipse.RadiusX
getset

Horizontal radius (axis units)

◆ RadiusY

double ScottPlot.Plottables.Ellipse.RadiusY
getset

Horizontal radius (axis units)

◆ Rotation

Angle ScottPlot.Plottables.Ellipse.Rotation = Angle.FromDegrees(0)
getset

Rotation of the ellipse (degrees)

◆ StartAngle

Angle ScottPlot.Plottables.Ellipse.StartAngle = Angle.FromDegrees(0)
getset

Start angle of elliptical arc or elliptical sector (degrees)

◆ SweepAngle

Angle ScottPlot.Plottables.Ellipse.SweepAngle = Angle.FromDegrees(360)
getset

Sweep angle of elliptical arc or elliptical sector (degrees)


The documentation for this class was generated from the following file: