|
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.PageElement com.cete.dynamicpdf.pageelements.TaggablePageElement com.cete.dynamicpdf.pageelements.RotatingPageElement
public abstract class RotatingPageElement
Base class from which rotating page elements are derived.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
protected |
RotatingPageElement(float x,
float y,
float height)
Initializes a new instance of the RotatingPageElement class. |
protected |
RotatingPageElement(float x,
float y,
float height,
float angle)
Initializes a new instance of the RotatingPageElement class. |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the page element to the given PageWriter object. |
protected abstract void |
drawRotated(PageWriter writer)
Draws the rotated page element to the given PageWriter object. |
float |
getAngle()
Gets the heights of the angle element. |
float |
getHeight()
Gets the height of the page element. |
float |
getX()
Gets the X coordinate of the page element. |
float |
getY()
Gets the Y coordinate of the page element. |
void |
setAngle(float angle)
Sets the heights of the angle element. |
void |
setHeight(float height)
Sets the height of the page element. |
void |
setX(float x)
Sets the X coordinate of the page element. |
void |
setY(float y)
Sets the Y coordinate of the page element. |
Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement |
---|
getTag, getTagOrder, setTag, setTagOrder |
Methods inherited from class com.cete.dynamicpdf.PageElement |
---|
getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RotatingPageElement(float x, float y, float height)
RotatingPageElement
class.
x
- the float X coordinate of the rotating page element.y
- the float Y coordinate of the rotating page element.height
- the float height of the rotating page element.protected RotatingPageElement(float x, float y, float height, float angle)
RotatingPageElement
class.
x
- the float X coordinate of the rotating page element.y
- the float Y coordinate of the rotating page element.height
- the float height of the rotating page element.angle
- the float angle of the rotating page element.Method Detail |
---|
public void setAngle(float angle)
angle
- the float used to set the height of the angle element.public float getAngle()
public void setX(float x)
setX
in interface ICoordinate
x
- the float used to set the X coordinate of the page element.public float getX()
getX
in interface ICoordinate
public void setY(float y)
setY
in interface ICoordinate
y
- the float used to set the Y coordinate of the page element.public float getY()
getY
in interface ICoordinate
public void setHeight(float height)
height
- the float used to set the height of the page element.public float getHeight()
protected abstract void drawRotated(PageWriter writer)
PageWriter
object.
writer
- PageWriter object to receive the page element's output.PageWriter
public void draw(PageWriter writer)
PageWriter
object.
draw
in class TaggablePageElement
writer
- PageWriter object to receive the page element's output.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |