public class RectangleExtender extends Object
Constructor and Description |
---|
RectangleExtender(Rectangle clippingRect,
int widthExtend,
int heightExtend)
Creates a RectangleExtender
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
extend(Rectangle rectangle)
Extends the given rectangle and clips the result to the clipping rectangle.
|
public RectangleExtender(Rectangle clippingRect, int widthExtend, int heightExtend)
clippingRect
- The clipping Rectangle.widthExtend
- The horizontal extensionheightExtend
- The vertical extensionCopyright © 2014–2015 European Space Agency (ESA). All rights reserved.