|
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.Group com.cete.dynamicpdf.pageelements.TransformationGroup
public class TransformationGroup
This class can be used to transform entire groups of page elements. Any page element that is placed in this group will be displayed with the transformation values and attributes of this group.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
TransformationGroup(float x,
float y,
float width,
float height)
Initializes a new instance of the TransformationGroup class. |
|
TransformationGroup(float x,
float y,
float width,
float height,
float angle)
Initializes a new instance of the TransformationGroup class. |
Method Summary | |
---|---|
void |
draw(PageWriter writer)
Draws the transformation group to the given PageWriter object. |
float |
getAngle()
Gets the angle of the transformation group. |
float |
getHeight()
Gets the height of the transformation group. |
float |
getScaleX()
Gets the X scale of the transformation group. |
float |
getScaleY()
Gets the Y scale of the transformation group. |
float |
getWidth()
Gets the width of the transformation group. |
float |
getX()
Gets the X coordinate of the transformation group. |
float |
getY()
Gets the Y coordinate of the transformation group. |
void |
setAngle(float value)
Sets the angle of the transformation group. |
void |
setHeight(float value)
Sets the height of the transformation group. |
void |
setScaleX(float value)
Sets the X scale of the transformation group. |
void |
setScaleY(float value)
Sets the Y scale of the transformation group. |
void |
setWidth(float value)
Sets the width of the transformation group. |
void |
setX(float value)
Sets the X coordinate of the transformation group. |
void |
setY(float value)
Sets the Y coordinate of the transformation group. |
Methods inherited from class com.cete.dynamicpdf.pageelements.Group |
---|
add, getEnumerator, getPageElement, getPageElement, getPageElementByID, hasElements, hasPageElements, insert, size |
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 |
---|
public TransformationGroup(float x, float y, float width, float height)
TransformationGroup
class.
x
- X coordinate of the transformation group.y
- Y coordinate of the transformation group.width
- Width coordinate of the transformation group.height
- Height coordinate of the transformation group.public TransformationGroup(float x, float y, float width, float height, float angle)
TransformationGroup
class.
x
- X coordinate of the transformation group.y
- Y coordinate of the transformation group.width
- Width coordinate of the transformation group.height
- Height coordinate of the transformation group.angle
- Angle of the transformation group in degrees.Method Detail |
---|
public float getAngle()
public void setAngle(float value)
value
- the angle of the transformation group.public float getScaleX()
public void setScaleX(float value)
value
- he X scale of the transformation group.public float getScaleY()
public void setScaleY(float value)
value
- the Y scale of the transformation group.public float getX()
getX
in interface ICoordinate
public void setX(float value)
setX
in interface ICoordinate
value
- the X coordinate of the transformation group.public float getY()
getY
in interface ICoordinate
public void setY(float value)
setY
in interface ICoordinate
value
- the Y coordinate of the transformation group.public float getWidth()
getWidth
in interface IArea
public void setWidth(float value)
setWidth
in interface IArea
value
- the width of the transformation group.public float getHeight()
getHeight
in interface IArea
public void setHeight(float value)
setHeight
in interface IArea
value
- the height of the transformation group.public void draw(PageWriter writer)
PageWriter
object.
draw
in class Group
writer
- to receive the transformation group's output.PageWriter
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |