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.
public GradientGrip()
parameter,
Grip parameter.
Color
colourIn,
Colour going into the left side of the grip.
Color
colourOut
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
WithColour
#Create a new grip based on the current grip but with a different colour.
Returns: Recoloured grip.
WithColour
#Create a new grip based on the current grip but with a different colour.
Returns: Recoloured grip.
WithParameter
#Create a new grip based on the current grip but with a new parameter.
Returns: Moved grip.