Class Gradient
- Namespace
- Cairo
- Assembly
- cairo-1.0.dll
public class Gradient : Pattern, BoxedRecord
- Inheritance
-
Gradient
- Implements
- Derived
- Inherited Members
Constructors
Gradient(PatternOwnedHandle)
protected Gradient(PatternOwnedHandle handle)
Parameters
handle
PatternOwnedHandle
Properties
ColorStopCount
public int ColorStopCount { get; }
Property Value
Methods
AddColorStopRgb(double, double, double, double)
public void AddColorStopRgb(double offset, double r, double g, double b)
Parameters
AddColorStopRgba(double, double, double, double, double)
public void AddColorStopRgba(double offset, double r, double g, double b, double a)
Parameters
GetColorStopRgba(int, out double, out double, out double, out double, out double)
public Status GetColorStopRgba(int index, out double offset, out double r, out double g, out double b, out double a)