Fonts

public class Fonts
Rhino.Rumtime.UI

Properties

BoldHeadingFont

#Since v6.0
public static Font BoldHeadingFont { get; }
Returns a font that is 1.2x NormalFont and Bold

HeadingFont

#Since v6.0
public static Font HeadingFont { get; }
Returns a font used for dialog headings. 1.2x the size of NormalFont.

NormalFont

#Since v6.0
public static Font NormalFont { get; }
Returns the normal font used for dialog boxes and buttons.

SmallFont

#Since v6.0
public static Font SmallFont { get; }
Returns a font use for small text in dialog boxes. 0.8x the size of NormalFont.

TitleFont

#Since v6.0
public static Font TitleFont { get; }
Returns a font used for dialog titles. 2x the size of NormalFont, and bold.

Methods

GetUiFont

#Since v6.0
public static Font GetUiFont(Style style, Size size)
GetUiFont provides access to a set of unmanaged fonts used by Rhino.
style (Fonts.Style)Normal, Bold, Italic
size (Fonts.Size)One of several preset enumerable sizes