Skip to main content

Class ChartTypography

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

Describes typography tokens used for chart text.

public sealed class ChartTypography

Inheritance

objectChartTypography

Inherited Members

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

Constructors

ChartTypography(string, double, double?, double?, string?)

public ChartTypography(string fontFamily, double fontSize, double? lineHeight = null, double? letterSpacing = null, string? fontWeight = null)

Parameters

fontFamily string

fontSize double

lineHeight double?

letterSpacing double?

fontWeight string?

Properties

Default

public static ChartTypography Default { get; }

Property Value

ChartTypography

FontFamily

public string FontFamily { get; }

Property Value

string

FontSize

public double FontSize { get; }

Property Value

double

FontWeight

public string? FontWeight { get; }

Property Value

string?

LetterSpacing

public double? LetterSpacing { get; }

Property Value

double?

LineHeight

public double? LineHeight { get; }

Property Value

double?