GradientAxialShading

GradientAxialShading

Overview

GradientAxialShading is a class in Aspose.PDF FOSS for Java.

Represents an axial (linear) gradient shading pattern.

This class provides 6 methods for working with GradientAxialShading objects in Java programs. Available methods include: GradientAxialShading, getEndColor, getStartColor, setEndColor, setStartColor. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: endColor, startColor.

Properties

NameTypeAccessDescription
startColorColorReadGets the color at the start of the gradient.
endColorColorReadGets the color at the end of the gradient.

Methods

SignatureDescription
GradientAxialShading()Creates a new axial shading with no colors set.
GradientAxialShading(startColor: Color, endColor: Color)Creates a new axial shading with the specified start and end colors.
getStartColor()ColorGets the color at the start of the gradient.
setStartColor(startColor: Color)Sets the color at the start of the gradient.
getEndColor()ColorGets the color at the end of the gradient.
setEndColor(endColor: Color)Sets the color at the end of the gradient.

See Also

 English