public class TopLeftRectangularBox extends Object
| Constructor and Description |
|---|
TopLeftRectangularBox(int left,
int top,
int width,
int height) |
TopLeftRectangularBox(Rectangle r) |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
asRectangle() |
boolean |
containsPoint(float x,
float y) |
boolean |
equals(Object other) |
int |
getHeight() |
int |
getLeft() |
int |
getTop() |
int |
getWidth() |
int |
hashCode() |
TopLeftRectangularBox |
intersection(TopLeftRectangularBox other) |
String |
toString() |
TopLeftRectangularBox |
withPadding(int padding) |
public TopLeftRectangularBox(int left,
int top,
int width,
int height)
public TopLeftRectangularBox(Rectangle r)
public Rectangle asRectangle()
public TopLeftRectangularBox intersection(TopLeftRectangularBox other)
public TopLeftRectangularBox withPadding(int padding)
public boolean containsPoint(float x,
float y)
public int getLeft()
public int getTop()
public int getWidth()
public int getHeight()
Copyright © 2021 sejda. All rights reserved.