public class AxialShadingPattern extends ShadingPattern
| Constructor and Description |
|---|
AxialShadingPattern(ColorSpace colorSpace,
java.util.List<Point> coords,
java.util.List<Function> function)
Create an AxialShadingPattern.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.util.List<Point> |
getCoords()
The coordinates of the two endpoints of the axial shading.
|
java.util.List<java.lang.Double> |
getDomain()
A array of two numbers that specify the limiting values of the parametric variable t.
|
java.util.List<java.lang.Boolean> |
getExtend()
An array of two boolean values indicating whether to extend the shading beyond the starting and ending points of the axis, respectively.
|
java.util.List<Function> |
getFunction()
One 1-in n-out function, or an array of n 1-in 1-out functions that determine the values of the color channels, where n is the number of color components in the shading's color space.
|
void |
setCoords(java.util.List<Point> coords)
The coordinates of the two endpoints of the axial shading.
|
void |
setDomain(java.util.List<java.lang.Double> domain)
A array of two numbers that specify the limiting values of the parametric variable t.
|
void |
setExtend(java.util.List<java.lang.Boolean> extend)
An array of two boolean values indicating whether to extend the shading beyond the starting and ending points of the axis, respectively.
|
void |
setFunction(java.util.List<Function> function)
One 1-in n-out function, or an array of n 1-in 1-out functions that determine the values of the color channels, where n is the number of color components in the shading's color space.
|
java.lang.String |
toString()
Return a string representation of the AxialShadingPattern.
|
getAntiAlias, getBackgroundColor, getBoundingBox, getColorSpace, setAntiAlias, setBackgroundColor, setBoundingBox, setColorSpacegetPDFObjectpublic AxialShadingPattern(ColorSpace colorSpace, java.util.List<Point> coords, java.util.List<Function> function)
colorSpace - The color space for the pattern.coords - The coordinates of the two endpoints of the axial shading.function - One 1-in n-out function, or an array of n 1-in 1-out functions that determine the values of the color channels.public void delete()
delete in class ShadingPatternpublic java.lang.String toString()
toString in class ShadingPatternpublic java.util.List<Point> getCoords()
public void setCoords(java.util.List<Point> coords)
public java.util.List<Function> getFunction()
public void setFunction(java.util.List<Function> function)
public java.util.List<java.lang.Double> getDomain()
Defaults to [0, 1]. May be NULL.
public void setDomain(java.util.List<java.lang.Double> domain)
Defaults value: [0, 1]. May be NULL.
public java.util.List<java.lang.Boolean> getExtend()
Default value: [false, false]. May be NULL.
public void setExtend(java.util.List<java.lang.Boolean> extend)
Default value: [false, false]. May be NULL.