ColorGradient
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
ColorGradient
Initializes a new instance of the ColorGradient class
Properties
Name
Description
Public Property
EndPoint
End point of gradient
Public Property
GradientType
Gradient fill type associated with this hatch
Public Property
Repeat
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
StartPoint
Start point of gradient
Methods
Name
Description
Public Method
Duplicate
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
GetColorStops
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
SetColorStops
Set color stops for the gradient
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)