Table of Contents

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

int

Methods

AddColorStopRgb(double, double, double, double)

public void AddColorStopRgb(double offset, double r, double g, double b)

Parameters

offset double
r double
g double
b double

AddColorStopRgba(double, double, double, double, double)

public void AddColorStopRgba(double offset, double r, double g, double b, double a)

Parameters

offset double
r double
g double
b double
a double

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)

Parameters

index int
offset double
r double
g double
b double
a double

Returns

Status