|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.descriptors.attributes.Attribute_bbox.Resizer
Adds to the boxes size by some fixed number of pixels. FIXME: Fails when shrinking boxes by more width/height than they have.
| Constructor Summary | |
Attribute_bbox.Resizer(int x,
int y,
int width,
int height)
takes the deltas in each of the four values. |
|
| 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.Resizer(int x,
int y,
int width,
int height)
x - the x deltay - the y deltawidth - the width deltaheight - the height delta| Method Detail |
public boolean passes(Measurable o)
Filterable.Rulepasses determines
if the filterable object passes.
passes in interface Filterable.Ruleo - 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 | ||||||||||