Gradient Constructors
Overloads
Gradient(Single, Single, Single, Single, CmykColor, CmykColor) | Initializes a new instance of the Gradient class. |
Gradient(Single, Single, Single, Single, Grayscale, Grayscale) | Initializes a new instance of the Gradient class. |
Gradient(Single, Single, Single, Single, RgbColor, RgbColor) | Initializes a new instance of the Gradient class. |
Gradient(Single, Single, Single, Single, CmykColor, CmykColor)
Initializes a new instance of the Gradient class.
public Gradient(float x1, float y1, float x2, float y2, CmykColor color1, CmykColor color2)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, color1 As CmykColor, color2 As CmykColor)
Parameters
- x1
- Single
X coordinate of the first color.
- y1
- Single
Y coordinate of the first color.
- x2
- Single
X coordinate of the second color.
- y2
- Single
Y coordinate of the second color.
- color1
- CmykColor
First CMYK color.
- color2
- CmykColor
Second CMYK color.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Gradient(Single, Single, Single, Single, Grayscale, Grayscale)
Initializes a new instance of the Gradient class.
public Gradient(float x1, float y1, float x2, float y2, Grayscale color1, Grayscale color2)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, color1 As Grayscale, color2 As Grayscale)
Parameters
- x1
- Single
X coordinate of the first color.
- y1
- Single
Y coordinate of the first color.
- x2
- Single
X coordinate of the second color.
- y2
- Single
Y coordinate of the second color.
- color1
- Grayscale
First Grayscale color.
- color2
- Grayscale
Second Grayscale color.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.
Gradient(Single, Single, Single, Single, RgbColor, RgbColor)
Initializes a new instance of the Gradient class.
public Gradient(float x1, float y1, float x2, float y2, RgbColor color1, RgbColor color2)
Public Sub New (x1 As Single, y1 As Single, x2 As Single, y2 As Single, color1 As RgbColor, color2 As RgbColor)
Parameters
- x1
- Single
X coordinate of the first color.
- y1
- Single
Y coordinate of the first color.
- x2
- Single
X coordinate of the second color.
- y2
- Single
Y coordinate of the second color.
- color1
- RgbColor
First RGB color.
- color2
- RgbColor
Second RGB color.
Licensing Info
This constructor is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Ultimate Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF Core Suite selected.
- A DynamicPDF Core Suite for .NET v12.X Developer License.