GradientGrip
References[IoId("00000000-F09C-4616-9F59-0CDB195B33C8")]
public sealed class GradientGrip : IStorable, IComparable<GradientGrip>, IEquatable<GradientGrip>
Represents a grip in a colour gradient.
Constructors
GradientGrip
#Create a new continuous grip.
Parameters:
| parameter (double) | Grip parameter. |
| colour (Color) | Grip colour. |
GradientGrip
#Create a new continuous grip.
Parameters:
| parameter (double) | Grip parameter. |
| colourIn (Color) | Colour going into the left side of the grip. |
| colourOut (Color) | Colour coming out of the right side of the grip. |
GradientGrip
#Create a new continuous grip.
GradientGrip
#Create a new discontinuous grip.
Properties
IsContinuous
#Gets whether this grip is continuous, i.e. if the left colour and right colour are identical.
Methods
Parameters:
| other (GradientGrip) |
Parameters:
| other (GradientGrip) |
WithColour
#Create a new grip based on the current grip but with a different colour.
Parameters:
| newColour (Colour) | New colour value. |
Returns: Recoloured grip.