Skip to content

ColorGradient

Public Class

Inheritance Hierarchy

System.Object
Rhino.Display.ColorGradient

Namespace: Rhino.Display

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public class ColorGradient

The ColorGradient type exposes the following members.

Constructors

Name

Description


Public Method

Initializes a new instance of the ColorGradient class


Properties

Name

Description


Public Property

End point of gradient


Public Property

Gradient fill type associated with this hatch


Public Property

Repeat factor for gradient. Factors greater than 1 define a reflected repeat factor while values less than -1 define a wrapped repeat factor.


Public Property

Start point of gradient


Methods

Name

Description


Public Method

Create a duplicate of this color gradient.


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

(Inherited from Object.)


Public Method

Get sorted list of colors / positions that a gradient is defined over


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Protected Method

MemberwiseClone

Creates a shallow copy of the current Object.

(Inherited from Object.)


Public Method

Set color stops for the gradient


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)