|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.cete.dynamicpdf.Color
|
+--com.cete.dynamicpdf.Pattern
|
+--com.cete.dynamicpdf.Gradient
|
+--com.cete.dynamicpdf.AutoGradient
Represents an automatically calculated gradient pattern. NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
Licensing :
This class is a DynamicPDF Generator Professional Edition feature.
One of the following licenses is required for non-evaluation usage:
| Constructor Summary | |
AutoGradient(float angle,
CmykColor color1,
CmykColor color2)
Initializes a new instance of the AutoGradient class. |
|
AutoGradient(float angle,
Grayscale color1,
Grayscale color2)
Initializes a new instance of the AutoGradient class. |
|
AutoGradient(float angle,
RgbColor color1,
RgbColor color2)
Initializes a new instance of the AutoGradient class. |
|
AutoGradient(int angle,
CmykColor color1,
CmykColor color2)
Deprecated. As of DynamicPDF Generator v5.0.1. replaced by AutoGradient.AutoGradient(float angle, CmykColor color1, CmykColor color2) |
|
AutoGradient(int angle,
Grayscale color1,
Grayscale color2)
Deprecated. As of DynamicPDF Generator v5.0.1. replaced by AutoGradient.AutoGradient(float angle, Grayscale color1, Grayscale color2) |
|
AutoGradient(int angle,
RgbColor color1,
RgbColor color2)
Deprecated. As of DynamicPDF Generator v5.0.1. replaced by AutoGradient.AutoGradient(float angle, RgbColor color1, RgbColor color2) |
|
| Method Summary | |
void |
drawFill(PageWriter writer)
Draws the color data to the given PageWriter object. |
void |
drawStroke(PageWriter writer)
Draws the color data to the given PageWriter object. |
float |
getAngle()
Gets the angle of the Gradient. |
void |
setAngle(float val)
Sets the angle of the Gradient. |
void |
setAngle(int val)
Deprecated. As of DynamicPDF Generator v5.0.1. replaced by AutoGradient.setAngle(float angle) |
| Methods inherited from class com.cete.dynamicpdf.Gradient |
equals, getColor1, getColor2, getColorSpace, getResource, getX1, getX2, getY1, getY2, hashCode, setX1, setX2, setY1, setY2 |
| Methods inherited from class com.cete.dynamicpdf.Color |
drawFill, drawStroke |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AutoGradient(int angle,
RgbColor color1,
RgbColor color2)
AutoGradient.AutoGradient(float angle, RgbColor color1, RgbColor color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First RGB color.color2 - Second RGB color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
public AutoGradient(int angle,
CmykColor color1,
CmykColor color2)
AutoGradient.AutoGradient(float angle, CmykColor color1, CmykColor color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First CMYK color.color2 - Second CMYK color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
public AutoGradient(int angle,
Grayscale color1,
Grayscale color2)
AutoGradient.AutoGradient(float angle, Grayscale color1, Grayscale color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First GRAYSCALE color.color2 - Second GRAYSCALE color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
public AutoGradient(float angle,
RgbColor color1,
RgbColor color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First RGB color.color2 - Second RGB color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
public AutoGradient(float angle,
CmykColor color1,
CmykColor color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First CMYK color.color2 - Second CMYK color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.
public AutoGradient(float angle,
Grayscale color1,
Grayscale color2)
AutoGradient class.
angle - Angle of the AutoGradient.color1 - First GRAYSCALE color.color2 - Second GRAYSCALE color.
NOTE: The X1, Y1, X2 and Y2 properties of this class will be automatically calculated. If these values are set, they will be overwritten.| Method Detail |
public void setAngle(int val)
AutoGradient.setAngle(float angle)
val - Angle of the AutoGradient.public float getAngle()
public void setAngle(float val)
val - Angle of the AutoGradient.public void drawFill(PageWriter writer)
PageWriter object.
drawFill in class Gradientwriter - PageWriter object to receive the color data.PageWriterpublic void drawStroke(PageWriter writer)
PageWriter object.
drawStroke in class Gradientwriter - PageWriter object to receive the color data.PageWriter
|
DynamicPDF by ceTe Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||