Click or drag to resize

ModelFont Class

Represents a typography font. Wraps the functionality of the Font type.
Inheritance Hierarchy
System.Object
  Grasshopper.Kernel.Types.GH_Goo<Font>
    Grasshopper.Rhinoceros.ModelFont

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_Goo<T>.CastFrom(Object).)
Public methodCastTo<Q>
Attempt a cast to type Q.
(Inherited from GH_Goo<T>.)
Public methodDuplicate (Overrides GH_Goo<T>.Duplicate().)
Public methodEmitProxy
Create a new proxy for this instance. Return Null if this class does not support proxies.
(Inherited from GH_Goo<T>.)
Public methodEquals(ModelFont)
Public methodEquals(Object) (Overrides Object.Equals(Object).)
Public methodGetHashCode (Overrides Object.GetHashCode().)
Public methodStatic memberIsFamilyNameInstalled
Public methodRead (Overrides GH_Goo<T>.Read(GH_IReader).)
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_Goo<T>.)
Public methodToString (Overrides GH_Goo<T>.ToString().)
Public methodWrite (Overrides GH_Goo<T>.Write(GH_IWriter).)
Top
Operators
See Also