Method sfont
sfont(FontFamily, FontStyle, FontWeight)
plsfont: Set family, style and weight of the current font
Declaration
public static void sfont(FontFamily family, FontStyle style, FontWeight weight)
Parameters
Type | Name | Description |
---|---|---|
FontFamily | family | Font family to select for the current font. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_SANS, PL_FCI_SERIF, PL_FCI_MONO, PL_FCI_SCRIPT and PL_FCI_SYMBOL. A negative value signifies that the font family should not be altered. |
FontStyle | style | Font style to select for the current font. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_UPRIGHT, PL_FCI_ITALIC and PL_FCI_OBLIQUE. A negative value signifies that the font style should not be altered. |
FontWeight | weight | Font weight to select for the current font. The available values are given by the PL_FCI_* constants in plplot.h. Current options are PL_FCI_MEDIUM and PL_FCI_BOLD. A negative value signifies that the font weight should not be altered. |
Remarks
Sets the current font. See for more information on font selection.