| Package | Description |
|---|---|
| com.itextpdf.kernel.colors.gradients | |
| com.itextpdf.styledxmlparser.css.util |
| Modifier and Type | Method and Description |
|---|---|
StrategyBasedLinearGradientBuilder |
StrategyBasedLinearGradientBuilder.setGradientDirectionAsCentralRotationAngle(double radians)
Set the strategy to use the minimal coordinates vector that passes through the central point of the target rectangle area, rotated by the specified amount of radians counter clockwise and covers the area to be filled.
|
StrategyBasedLinearGradientBuilder |
StrategyBasedLinearGradientBuilder.setGradientDirectionAsStrategy(StrategyBasedLinearGradientBuilder.GradientStrategy gradientStrategy)
Set the strategy to predefined one
|
| Modifier and Type | Method and Description |
|---|---|
static StrategyBasedLinearGradientBuilder |
CssGradientUtil.parseCssLinearGradient(String cssGradientValue, float emValue, float remValue)
Parses the provided linear gradient or repeating linear gradient function
|
Copyright © 1998–2023 iText Group NV. All rights reserved.