Uses of Class
com.itextpdf.kernel.colors.gradients.GradientColorStop
Packages that use GradientColorStop
Package
Description
-
Uses of GradientColorStop in com.itextpdf.kernel.colors.gradients
Fields in com.itextpdf.kernel.colors.gradients with type parameters of type GradientColorStopModifier and TypeFieldDescriptionprivate final List
<GradientColorStop> AbstractLinearGradientBuilder.stops
Methods in com.itextpdf.kernel.colors.gradients that return GradientColorStopModifier and TypeMethodDescriptionGradientColorStop.setHint
(double hintOffset, GradientColorStop.HintOffsetType hintOffsetType) Set the color hint specified by its value and type (more details
).GradientColorStop.setOffset
(double offset, GradientColorStop.OffsetType offsetType) Set the offset specified by its value and typeMethods in com.itextpdf.kernel.colors.gradients that return types with arguments of type GradientColorStopModifier and TypeMethodDescriptionprivate static List
<GradientColorStop> AbstractLinearGradientBuilder.adjustNormalizedStopsToCoverDomain
(List<GradientColorStop> normalizedStops, double[] targetDomain, GradientSpreadMethod spreadMethod) private static List
<GradientColorStop> AbstractLinearGradientBuilder.copyStopsAndNormalizeAbsoluteOffsets
(List<GradientColorStop> toNormalize, double baseVectorLength) AbstractLinearGradientBuilder.getColorStops()
Get the copy of current color stops list.private static List
<GradientColorStop> AbstractLinearGradientBuilder.normalizeStops
(List<GradientColorStop> toNormalize, double baseVectorLength) Methods in com.itextpdf.kernel.colors.gradients with parameters of type GradientColorStopModifier and TypeMethodDescriptionAbstractLinearGradientBuilder.addColorStop
(GradientColorStop gradientColorStop) Adds the new color stop to the end (more info
).private static AbstractPdfFunction
<? extends PdfDictionary> AbstractLinearGradientBuilder.constructSingleGradientSegmentFunction
(GradientColorStop from, GradientColorStop to) Method parameters in com.itextpdf.kernel.colors.gradients with type arguments of type GradientColorStopModifier and TypeMethodDescriptionprivate static List
<GradientColorStop> AbstractLinearGradientBuilder.adjustNormalizedStopsToCoverDomain
(List<GradientColorStop> normalizedStops, double[] targetDomain, GradientSpreadMethod spreadMethod) private static void
AbstractLinearGradientBuilder.adjustStopsForPadIfNeeded
(List<GradientColorStop> stopsToConstruct, double[] coordinatesDomain) private static IPdfFunction
AbstractLinearGradientBuilder.constructFunction
(List<GradientColorStop> toConstruct) private static List
<GradientColorStop> AbstractLinearGradientBuilder.copyStopsAndNormalizeAbsoluteOffsets
(List<GradientColorStop> toNormalize, double baseVectorLength) private static PdfAxialShading
AbstractLinearGradientBuilder.createAxialShading
(Point[] baseCoordinatesVector, List<GradientColorStop> stops, GradientSpreadMethod spreadMethod, Rectangle targetBoundingBox) private static void
AbstractLinearGradientBuilder.normalizeAutoStops
(List<GradientColorStop> toNormalize) private static void
AbstractLinearGradientBuilder.normalizeAutoStops
(List<GradientColorStop> toNormalizeList, int fromIndex, int toIndex, double prevOffset, double nextOffset) private static void
AbstractLinearGradientBuilder.normalizeFirstStopOffset
(List<GradientColorStop> result) private static void
AbstractLinearGradientBuilder.normalizeHintsOffsets
(List<GradientColorStop> result) private static List
<GradientColorStop> AbstractLinearGradientBuilder.normalizeStops
(List<GradientColorStop> toNormalize, double baseVectorLength) Constructors in com.itextpdf.kernel.colors.gradients with parameters of type GradientColorStopModifierConstructorDescriptionGradientColorStop
(GradientColorStop gradientColorStop, double offset, GradientColorStop.OffsetType offsetType) Constructor that creates the stop with the same color as the another stop and new offset -
Uses of GradientColorStop in com.itextpdf.styledxmlparser.css.util
Methods in com.itextpdf.styledxmlparser.css.util that return GradientColorStopModifier and TypeMethodDescriptionprivate static GradientColorStop
CssGradientUtil.createStopColor
(float[] rgba, UnitValue offset) -
Uses of GradientColorStop in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl that return types with arguments of type GradientColorStopModifier and TypeMethodDescriptionprivate List
<GradientColorStop> LinearGradientSvgNodeRenderer.parseStops
(float parentOpacity)