Rectangle2DChangeStrategy, which are based on a previous
rectangle. Respects a ratio if one is set.
| Modifier and Type | Field and Description |
|---|---|
| private final Rectangle2D | previous
The rectangle these changes are based on. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractPreviousRectangleChangeStrategy(Rectangle2D
the previous rectangle this change is based on previous, boolean indicates whether the ratio will be fixed ratioFixed, double defines the fixed ratio ratio)Creates a change strategy which is based on the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected final Rectangle2D |
| previous | back to summary |
|---|---|
| private final Rectangle2D previous The rectangle these changes are based on. | |
| AbstractPreviousRectangleChangeStrategy | back to summary |
|---|---|
| protected AbstractPreviousRectangleChangeStrategy(Rectangle2D previous, boolean ratioFixed, double ratio) Creates a change strategy which is based on the specified
| |
| getPrevious | back to summary |
|---|---|
| protected final Rectangle2D getPrevious() The previous rectangle this change is based on.
| |