|
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
public class 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. |
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. |
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(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 float getAngle()
public void setAngle(float val)
val
- Angle of the AutoGradient.public void drawFill(PageWriter writer)
PageWriter
object.
drawFill
in class Gradient
writer
- PageWriter
object to receive the color data.PageWriter
public void drawStroke(PageWriter writer)
PageWriter
object.
drawStroke
in class Gradient
writer
- 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 |