| Modifier and Type | Method and Description |
|---|---|
| public Rectangle2D | Returns: the position of this shape within the drawing canvas. The coordinates are expressed in points
|
| public boolean | Returns: whether the shape is horizontally flippedWhether the shape is horizontally flipped |
| public boolean | Returns: whether the shape is vertically flippedWhether the shape is vertically flipped |
| public ShapeContainer | |
| public double | Returns: rotation angle in degreesRotation angle in degrees Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis). |
| public Sheet | |
| public void | setAnchor(Rectangle2D
the position of this shape within the drawing canvas.
The coordinates are expressed in points anchor)
|
| public void | |
| public void | setFlipVertical(boolean
whether the shape is vertically flipped flip)Whether the shape is vertically flipped |
| public void |
| getAnchor | back to summary |
|---|---|
public Rectangle2D getAnchor()
| |
| getFlipHorizontal | back to summary |
|---|---|
| public boolean getFlipHorizontal() Whether the shape is horizontally flipped
| |
| getFlipVertical | back to summary |
|---|---|
| public boolean getFlipVertical() Whether the shape is vertically flipped
| |
| getParent | back to summary |
|---|---|
| public ShapeContainer | |
| getRotation | back to summary |
|---|---|
| public double getRotation() Rotation angle in degrees Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
| |
| getSheet | back to summary |
|---|---|
public Sheet
| |
| setAnchor | back to summary |
|---|---|
public void setAnchor(Rectangle2D anchor)
| |
| setFlipHorizontal | back to summary |
|---|---|
public void setFlipHorizontal(boolean flip)
| |
| setFlipVertical | back to summary |
|---|---|
| public void setFlipVertical(boolean flip) Whether the shape is vertically flipped
| |
| setRotation | back to summary |
|---|---|
| public void setRotation(double theta) Rotate this shape. Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
| |