Package org.esa.snap.core.util
Class RectangleExtender
- java.lang.Object
-
- org.esa.snap.core.util.RectangleExtender
-
public class RectangleExtender extends Object
Extends a rectangle using a horizontal and vertical extension. The rectangle is limited by the given clipping rectangle
-
-
Constructor Summary
Constructors Constructor Description RectangleExtender(Rectangle clippingRect, int widthExtend, int heightExtend)
Creates a RectangleExtender
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Rectangle
extend(Rectangle rectangle)
Extends the given rectangle and clips the result to the clipping rectangle.
-
-
-
Constructor Detail
-
RectangleExtender
public RectangleExtender(Rectangle clippingRect, int widthExtend, int heightExtend)
Creates a RectangleExtender- Parameters:
clippingRect
- The clipping Rectangle.widthExtend
- The horizontal extensionheightExtend
- The vertical extension
-
-