Font Class

Font Class

Defines a format for text.
Inheritance Hierarchy
SystemObject
  Rhino.DocObjectsFont

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class Font
Public Class Font

The Font type exposes the following members.

Constructors
  NameDescription
Public methodFont(String)
Initializes a new instance of the Font class
Public methodFont(String, FontFontWeight, FontFontStyle, Boolean, Boolean)
Initializes a new instance of the Font class
Top
Properties
  NameDescription
Public propertyBold
Public propertyDescription
Returns a long description that includes family, face, weight, stretch and style information. Generally not useful for finding matching fonts.
Public propertyFaceName
Returns Facename
Public propertyFamilyName
Public propertyIsSimulated
Public propertyIsSingleStrokeFont
Public propertyIsSymbolFont
Public propertyItalic
Public propertyLogfontName
Returns Windows Logfont Facename
Public propertyPointSize
Public propertyPostScriptName
Returns the Font PostScriptName - "Apple font name"
Public propertyQuartetName
Public propertyRichTextFontName
Returns the Font RichTextFontName used in RTF strings: {\\fonttbl...{\\fN RichTextFontName;}...}
Public propertyStrikeout
Public propertyStyle
Public propertyUnderlined
Public propertyWeight
Top
Methods
  NameDescription
Public methodStatic memberAvailableFontFaceNames
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFromQuartetProperties
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberInstalledFonts
Public methodStatic memberInstalledFonts(String)
Public methodStatic memberInstalledFontsAsQuartets
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also