| Package | Description |
|---|---|
| com.itextpdf.kernel.colors.gradients |
| Modifier and Type | Method and Description |
|---|---|
GradientColorStop.OffsetType |
GradientColorStop.getOffsetType()
Get the offset type
|
static GradientColorStop.OffsetType |
GradientColorStop.OffsetType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientColorStop.OffsetType[] |
GradientColorStop.OffsetType.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
GradientColorStop |
GradientColorStop.setOffset(double offset, GradientColorStop.OffsetType offsetType)
Set the offset specified by its value and type
|
| Constructor and Description |
|---|
GradientColorStop(float[] rgb, double offset, GradientColorStop.OffsetType offsetType)
Constructor of stop color with with specified rgb color and offset
|
GradientColorStop(GradientColorStop gradientColorStop, double offset, GradientColorStop.OffsetType offsetType)
Constructor that creates the stop with the same color as the another stop and new offset
|
Copyright © 1998–2023 iText Group NV. All rights reserved.