| Modifier and Type | Field and Description |
|---|---|
| private final Edge2D | easternEdge
The new rectangle's eastern edge. |
| Access | Constructor and Description |
|---|---|
| public | ToWestChangeStrategy(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 rectangle can be resized bounds)Creates a new change strategy which enlarges the specified |
| public | ToWestChangeStrategy(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, double the maximal x-coordinate of the right edge of the created rectangles; must be greater than or equal to
the previous rectangle's width maxX, double the maximal y-coordinate of the lower edge of the created rectangles; must be greater than or equal to
the previous rectangle's height maxY)Creates a new change strategy which enlarges the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected Edge2D | getFixedEdge()
Implements abstract impl. Returns the edge which is fixed during the change. |
| easternEdge | back to summary |
|---|---|
| private final Edge2D easternEdge The new rectangle's eastern edge. | |
| ToWestChangeStrategy | back to summary |
|---|---|
| public ToWestChangeStrategy(Rectangle2D original, boolean ratioFixed, double ratio, Rectangle2D bounds) Creates a new change strategy which enlarges the specified
| |
| ToWestChangeStrategy | back to summary |
|---|---|
| public ToWestChangeStrategy(Rectangle2D original, boolean ratioFixed, double ratio, double maxX, double maxY) Creates a new change strategy which enlarges the specified
| |
| getFixedEdge | back to summary |
|---|---|
| protected Edge2D getFixedEdge() Implements abstract impl. Doc from impl. Returns the edge which is fixed during the change. Called once when the change begins.
| |