Class MarkerStyle
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
This configuration object (reference type) permanently lives inside objects which require styling. It is recommended to use this object as an init-only property.
public class MarkerStyle : IHasLine, IHasFill, IHasOutline
- Inheritance
-
MarkerStyle
- Implements
- Inherited Members
- Extension Methods
Constructors
MarkerStyle()
public MarkerStyle()
MarkerStyle(MarkerShape, float)
public MarkerStyle(MarkerShape shape, float size)
Parameters
shape
MarkerShapesize
float
MarkerStyle(MarkerShape, float, Color)
public MarkerStyle(MarkerShape shape, float size, Color color)
Parameters
shape
MarkerShapesize
floatcolor
Color
Properties
CustomRenderer
public IMarker? CustomRenderer { get; set; }
Property Value
Default
public static MarkerStyle Default { get; }
Property Value
Fill
[Obsolete("use FillColor, FillHatchColor, FillHatch, or FillStyle", true)]
public FillStyle Fill { get; set; }
Property Value
FillColor
public Color FillColor { get; set; }
Property Value
FillHatch
public IHatch? FillHatch { get; set; }
Property Value
FillHatchColor
public Color FillHatchColor { get; set; }
Property Value
FillOutline
[Obsolete("This property is obsolete. An outline will be drawn if OutlineWidth width is greater than 0.", true)]
public bool FillOutline { get; set; }
Property Value
FillStyle
public FillStyle FillStyle { get; set; }
Property Value
IsVisible
public bool IsVisible { get; set; }
Property Value
LineColor
public Color LineColor { get; set; }
Property Value
LinePattern
public LinePattern LinePattern { get; set; }
Property Value
LineStyle
public LineStyle LineStyle { get; set; }
Property Value
LineWidth
public float LineWidth { get; set; }
Property Value
MarkerColor
public Color MarkerColor { get; set; }
Property Value
None
public static MarkerStyle None { get; }
Property Value
Outline
[Obsolete("use OutlineWidth, OutlineColor, OutlineStyle, etc", true)]
public LineStyle Outline { get; set; }
Property Value
OutlineColor
public Color OutlineColor { get; set; }
Property Value
OutlinePattern
public LinePattern OutlinePattern { get; set; }
Property Value
OutlineStyle
public LineStyle OutlineStyle { get; set; }
Property Value
OutlineWidth
public float OutlineWidth { get; set; }
Property Value
Shape
public MarkerShape Shape { get; set; }
Property Value
Size
Diameter of the marker (in pixels)
public float Size { get; set; }
Property Value
Methods
Render(SKCanvas, Pixel, SKPaint)
public void Render(SKCanvas canvas, Pixel px, SKPaint paint)