Class FontStyler
Helper methods for setting fonts to all components of a plot
public class FontStyler
- Inheritance
-
FontStyler
- Inherited Members
- Extension Methods
Constructors
FontStyler(Plot)
Helper methods for setting fonts to all components of a plot
public FontStyler(Plot plot)
Parameters
plot
Plot
Methods
Automatic()
Detects the best font to apply to every label in the plot based on the characters the they contain. If the best font for a label cannot be detected, the font last defined by Set(string) will be used.
public void Automatic()
Set(string)
Apply the given font name to all existing plot objects. Also sets the default font name so this font will be used for plot objects added in the future.
public void Set(string fontName)
Parameters
fontName
string