Skip to main content

Class LegendStyle

Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll

Encapsulates styling tokens for legends.

public sealed class LegendStyle

Inheritance

objectLegendStyle

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

LegendStyle(RgbaColor, RgbaColor, double, ChartTypography, double, double, double, double)

public LegendStyle(RgbaColor background, RgbaColor border, double borderThickness, ChartTypography labelTypography, double markerSize = 10, double itemSpacing = 8, double padding = 12, double labelSpacing = 6)

Parameters

background RgbaColor

border RgbaColor

borderThickness double

labelTypography ChartTypography

markerSize double

itemSpacing double

padding double

labelSpacing double

Properties

Background

public RgbaColor Background { get; }

Property Value

RgbaColor

Border

public RgbaColor Border { get; }

Property Value

RgbaColor

BorderThickness

public double BorderThickness { get; }

Property Value

double

ItemSpacing

public double ItemSpacing { get; }

Property Value

double

LabelSpacing

public double LabelSpacing { get; }

Property Value

double

LabelTypography

public ChartTypography LabelTypography { get; }

Property Value

ChartTypography

MarkerSize

public double MarkerSize { get; }

Property Value

double

Padding

public double Padding { get; }

Property Value

double