public interface IlvPathDecoration
Modifier and Type | Method and Description |
---|---|
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.
|
double |
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. |
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.double equivalentWidth(IlvTransformer t)
t
- The transformer to compute the equivalent width.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.