ModelFont
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
Name
Description
Public Method
ModelFont.
Initializes a new instance of the ModelFont class
Public Method
ModelFont(Font)
Initializes a new instance of the ModelFont class
Public Method
ModelFont(String)
Initializes a new instance of the ModelFont class
Properties
Name
Description
Public Property
FamilyName
Public Property
Static Member
InstalledFamilies
Public Property
Static Member
InstalledFonts
Public Property
IsInstalled
Public Property
IsValid
(Overrides
GH_Goo.T..IsValid
.)Public Property
IsValidWhyNot
Gets a string describing the state of “invalidness”. If the instance is valid, then this property should return Nothing or String.Empty.
(Inherited from GH_Goo.T..)
Public Property
TypeDescription
(Overrides
GH_Goo.T..TypeDescription
.)Public Property
TypeName
(Overrides
GH_Goo.T..TypeName
.)Public Property
Value
Gets or sets the internal data.
(Inherited from GH_Goo.T..)
Methods
Name
Description
Public Method
CastFrom
(Overrides GH_Goo.T..CastFrom(Object).)
Public Method
CastTo.Q.
Attempt a cast to type Q.
(Inherited from GH_Goo.T..)
Public Method
Duplicate
(Overrides GH_Goo.T..Duplicate..)
Public Method
EmitProxy
Create a new proxy for this instance. Return Null if this class does not support proxies.
(Inherited from GH_Goo.T..)
Public Method
Equals(ModelFont)
Public Method
Equals(Object)
(Overrides Object.Equals(Object).)
Public Method
GetHashCode
(Overrides Object.GetHashCode..)
Public Method
Static Member
IsFamilyNameInstalled
Public Method
Read
(Overrides
GH_Goo.T..Read(GH_IReader)
.)Public Method
ScriptVariable
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 Method
ToString
(Overrides
GH_Goo.T..ToString.
.)Public Method
Write
(Overrides
GH_Goo.T..Write(GH_IWriter)
.)Operators
Name
Description
Public Operator
Static Member
.(Font to ModelFont)
Public Operator
Static Member
.(String to ModelFont)