Skip to content

ModelFont

Public 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

Name

Description


Public Method

Initializes a new instance of the ModelFont class


Public Method

Initializes a new instance of the ModelFont class


Public Method

Initializes a new instance of the ModelFont class


Properties

Name

Description


Public Property

Public Property
Static Member

Public Property
Static Member

Public Property

Public Property

(Overrides

.)


Public Property

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

(Overrides

.)


Public Property

(Overrides

.)


Public Property

Gets or sets the internal data.

(Inherited from GH_Goo.T..)


Methods

Name

Description


Public Method

(Overrides GH_Goo.T..CastFrom(Object).)


Public Method
CastTo.Q.

Attempt a cast to type Q.

(Inherited from GH_Goo.T..)


Public Method

(Overrides GH_Goo.T..Duplicate..)


Public Method

Create a new proxy for this instance. Return Null if this class does not support proxies.

(Inherited from GH_Goo.T..)


Public Method

Public Method

(Overrides Object.Equals(Object).)


Public Method

(Overrides Object.GetHashCode..)


Public Method
Static Member

Public Method

(Overrides

.)


Public Method

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

(Overrides

.)


Public Method

(Overrides

.)


Operators

Name

Description


Public Operator
Static Member
.(Font to ModelFont)
Public Operator
Static Member
.(String to ModelFont)