Table of Contents

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 MarkerShape
size float

MarkerStyle(MarkerShape, float, Color)

public MarkerStyle(MarkerShape shape, float size, Color color)

Parameters

shape MarkerShape
size float
color Color

Properties

CustomRenderer

public IMarker? CustomRenderer { get; set; }

Property Value

IMarker

Default

public static MarkerStyle Default { get; }

Property Value

MarkerStyle

Fill

[Obsolete("use FillColor, FillHatchColor, FillHatch, or FillStyle", true)]
public FillStyle Fill { get; set; }

Property Value

FillStyle

FillColor

public Color FillColor { get; set; }

Property Value

Color

FillHatch

public IHatch? FillHatch { get; set; }

Property Value

IHatch

FillHatchColor

public Color FillHatchColor { get; set; }

Property Value

Color

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

bool

FillStyle

public FillStyle FillStyle { get; set; }

Property Value

FillStyle

IsVisible

public bool IsVisible { get; set; }

Property Value

bool

LineColor

public Color LineColor { get; set; }

Property Value

Color

LinePattern

public LinePattern LinePattern { get; set; }

Property Value

LinePattern

LineStyle

public LineStyle LineStyle { get; set; }

Property Value

LineStyle

LineWidth

public float LineWidth { get; set; }

Property Value

float

MarkerColor

public Color MarkerColor { get; set; }

Property Value

Color

None

public static MarkerStyle None { get; }

Property Value

MarkerStyle

Outline

[Obsolete("use OutlineWidth, OutlineColor, OutlineStyle, etc", true)]
public LineStyle Outline { get; set; }

Property Value

LineStyle

OutlineColor

public Color OutlineColor { get; set; }

Property Value

Color

OutlinePattern

public LinePattern OutlinePattern { get; set; }

Property Value

LinePattern

OutlineStyle

public LineStyle OutlineStyle { get; set; }

Property Value

LineStyle

OutlineWidth

public float OutlineWidth { get; set; }

Property Value

float

Shape

public MarkerShape Shape { get; set; }

Property Value

MarkerShape

Size

Diameter of the marker (in pixels)

public float Size { get; set; }

Property Value

float

Methods

Render(SKCanvas, Pixel, SKPaint)

public void Render(SKCanvas canvas, Pixel px, SKPaint paint)

Parameters

canvas SKCanvas
px Pixel
paint SKPaint