| Modifier and Type | Field and Description |
|---|---|
| private final Point2D | southwesternCorner
The new rectangle's southwestern corner. |
| Access | Constructor and Description |
|---|---|
| public | ToNortheastChangeStrategy(Rectangle2D
the original rectangle original, boolean indicates whether the rectangle's ratio will be fixed to the ratioFixed, double ratiothe possibly fixed ratio of the rectangle created by this strategy ratio, Rectangle2D the bounds within which the new rectangle must be contained bounds)Creates a new change strategy which enlarges the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected Point2D | getFixedCorner()
Implements abstract impl. Returns the corner which is fixed during the change. |
| southwesternCorner | back to summary |
|---|---|
| private final Point2D southwesternCorner The new rectangle's southwestern corner. | |
| ToNortheastChangeStrategy | back to summary |
|---|---|
| public ToNortheastChangeStrategy(Rectangle2D original, boolean ratioFixed, double ratio, Rectangle2D bounds) Creates a new change strategy which enlarges the specified
| |
| getFixedCorner | back to summary |
|---|---|
| protected Point2D getFixedCorner() Implements abstract impl. Doc from impl. Returns the corner which is fixed during the change. Called once when the change begins.
| |