Click or drag to resize

ModelFont Class

Represents a typography font. Wraps the functionality of the Font type.
Inheritance Hierarchy
SystemObject
  Grasshopper.Kernel.TypesGH_GooFont
    Grasshopper.RhinocerosModelFont

Namespace:  Grasshopper.Rhinoceros
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelFont : GH_Goo<Font>, 
	IEquatable<ModelFont>

The ModelFont type exposes the following members.

Constructors
  NameDescription
Public methodModelFont
Initializes a new instance of the ModelFont class
Public methodModelFont(Font)
Initializes a new instance of the ModelFont class
Public methodModelFont(String)
Initializes a new instance of the ModelFont class
Top
Properties
Methods
  NameDescription
Public methodCastFrom (Overrides GH_GooTCastFrom(Object).)
Public methodCastToQ
Attempt a cast to type Q.
(Inherited from GH_GooT.)
Public methodDuplicate (Overrides GH_GooTDuplicate.)
Public methodEmitProxy
Create a new proxy for this instance. Return Null if this class does not support proxies.
(Inherited from GH_GooT.)
Public methodEquals(ModelFont)
Public methodEquals(Object) (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodStatic memberIsFamilyNameInstalled
Public methodRead (Overrides GH_GooTRead(GH_IReader).)
Public methodStatic memberReadFont
Public methodScriptVariable
This function will be called when the local IGH_Goo instance disappears into a user Script. This would be an excellent place to cast your IGH_Goo type to a simple data type.
(Inherited from GH_GooT.)
Public methodToString (Overrides GH_GooTToString.)
Public methodWrite (Overrides GH_GooTWrite(GH_IWriter).)
Public methodStatic memberWriteFont
Top
Operators
Fields
See Also