|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TransformableContent
The requirements of transformable static visual content
| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D |
getBounds2D(boolean ofTransformed)
Returns a high precision bounding box of the Content either before or after it is transformed |
void |
setLocation(double x,
double y)
Set the location |
void |
setRotation(double angle,
double x,
double y)
Set the angle of rotation |
void |
setScale(double xScale,
double yScale)
Set the scaling |
| Methods inherited from interface visual.statik.SimpleContent |
|---|
render |
| Method Detail |
|---|
void setLocation(double x,
double y)
x - The x positiony - The y position
void setRotation(double angle,
double x,
double y)
angle - The rotation anglex - The x-coordinate of the point to rotate aroundy - The y-coordinate of the point to rotate around
void setScale(double xScale,
double yScale)
xScale - The scaling in the horizontal dimensionyScale - The scaling in the vertical dimensionjava.awt.geom.Rectangle2D getBounds2D(boolean ofTransformed)
ofTransformed - true to get the BB of the transformed content
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||