Class ChartTypography
Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll
Describes typography tokens used for chart text.
public sealed class ChartTypography
Inheritance
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
FontFamily
public string FontFamily { get; }
Property Value
FontSize
public double FontSize { get; }
Property Value
FontWeight
public string? FontWeight { get; }
Property Value
LetterSpacing
public double? LetterSpacing { get; }
Property Value
LineHeight
public double? LineHeight { get; }