public class RangeDimension extends DimensionImpl
| Modifier and Type | Field and Description |
|---|---|
private int |
maxHeight |
private int |
maxWidth |
private int |
minHeight |
private int |
minWidth |
| Constructor and Description |
|---|
RangeDimension(int minWidth,
int minHeight,
int maxWidth,
int maxHeight) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(int width,
int height)
Whether this dimension can be served in a slot with the specified width and height (from
BrxRtb095.BidRequest.Banner or Video or CompanionAd, etc.) |
int |
getMaxHeight() |
int |
getMaxWidth() |
int |
getMinHeight() |
int |
getMinWidth() |
String |
toString() |
private final int minWidth
private final int minHeight
private final int maxWidth
private final int maxHeight
public RangeDimension(int minWidth,
int minHeight,
int maxWidth,
int maxHeight)
public boolean check(int width,
int height)
DimensionBrxRtb095.BidRequest.Banner or Video or CompanionAd, etc.)public int getMinWidth()
public int getMinHeight()
public int getMaxWidth()
public int getMaxHeight()