| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static COSArray | Returns: the COSArray, which is an important parameter for setting linear gradient.colours to use. stopPoints,parameter for setting functiontype2 domain, COSArray encoding COSArray encode)This method is used for setting colours to linear gradient. |
| private static PDFunctionType3 | Returns: the function, which is an important parameter for setting linear gradient.colours and lengths of linear gradient. stopPoints,This method is used for setting colour lengths to linear gradient. |
| public static PDShading | Returns: shading for rendering linear gradient in PDFThis method is used for creating linear gradient with its components. |
| GradientHelper | back to summary |
|---|---|
| public GradientHelper() | |
| buildType2Functions | back to summary |
|---|---|
| private static COSArray buildType2Functions(List<FSLinearGradient. This method is used for setting colours to linear gradient. | |
| buildType3Function | back to summary |
|---|---|
| private static PDFunctionType3 buildType3Function(List<FSLinearGradient. This method is used for setting colour lengths to linear gradient.
| |
| createLinearGradient | back to summary |
|---|---|
| public static PDShading createLinearGradient(PdfBoxFastOutputDevice od, AffineTransform transform, FSLinearGradient gradient, Shape bounds) This method is used for creating linear gradient with its components.
| |