|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IlvPathDecoration
This interface defines the generic path decoration behavior.
| Method Summary | |
|---|---|
IlvRect |
boundingBox(Shape shape,
IlvRect rect,
IlvTransformer t)
Returns the bounding box of the specified shape, if it is decorated using this decoration. |
void |
draw(Graphics2D graphics,
Shape shape,
IlvTransformer t)
Draws the decoration for the specified shape in the specified graphics. |
float |
equivalentWidth(IlvTransformer t)
Returns an equivalent line width to this path decoration, if it is drawn using the specified transformer. |
boolean |
isZoomable()
Returns true if this path decoration is zoomable. |
| Method Detail |
|---|
void draw(Graphics2D graphics,
Shape shape,
IlvTransformer t)
IlvRect boundingBox(Shape shape,
IlvRect rect,
IlvTransformer t)
r is non null, the result is put in r and returned,
otherwise the result is returned in a newly allocated IlvRect.
shape - The shape whose bounding box is to be computed.rect - The IlvRect that will contain the result.t - The transformer for this bounding box.boolean isZoomable()
true if this path decoration is zoomable.
float equivalentWidth(IlvTransformer t)
t - The transformer to compute the equivalent width.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||