|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.descriptors.attributes.Attribute_bbox.Crops
Crops all rectangles to be within the given rectangle Returns false when the rectangle is without the window.
Constructor Summary | |
Attribute_bbox.Crops(int x,
int y,
int width,
int height)
The containing rectangle/window. |
Method Summary | |
boolean |
isShortCircuit()
Tells the filter whether to apply short circuiting. |
boolean |
passes(Measurable o)
The function method of this object, passes determines
if the filterable object passes. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Attribute_bbox.Crops(int x, int y, int width, int height)
x
- the x (top-left) coordinate of the cropping windowy
- the y (top-left) coordinate of the cropping windowwidth
- the width of the cropping windowheight
- the height of the cropping windowMethod Detail |
public boolean passes(Measurable o)
Filterable.Rule
passes
determines
if the filterable object passes.
passes
in interface Filterable.Rule
o
- the measurable object to test
true
if the Filterable object passes the rule.public java.lang.String toString()
public boolean isShortCircuit()
isShortCircuit
in interface Filterable.Rule
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |