Class ColorStopHandle
public abstract class ColorStopHandle : SafeHandle, IDisposable
- Inheritance
-
ColorStopHandle
- Implements
- Derived
- Inherited Members
Constructors
ColorStopHandle(bool)
protected ColorStopHandle(bool ownsHandle)
Parameters
ownsHandle
bool
Properties
IsInvalid
When overridden in a derived class, gets a value indicating whether the handle value is invalid.
public override sealed bool IsInvalid { get; }
Property Value
Methods
Equals(ColorStopHandle?)
public bool Equals(ColorStopHandle? other)
Parameters
other
ColorStopHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetColor()
public RGBAData GetColor()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetOffset()
public float GetOffset()
Returns
SetColor(RGBAData)
public void SetColor(RGBAData value)
Parameters
value
RGBAData
SetOffset(float)
public void SetOffset(float value)
Parameters
value
float