org.apache.batik.bridge
public abstract class AnimatableGenericSVGBridge extends AnimatableSVGBridge implements GenericBridge, BridgeUpdateHandler, SVGContext
Method Summary | |
---|---|
void | dispose() |
Rectangle2D | getBBox()
Returns the tight bounding box in current user space (i.e.,
after application of the transform attribute, if any) on the
geometry of all contained graphics elements, exclusive of
stroke-width and filter effects). |
AffineTransform | getCTM()
Returns the transformation matrix from current user units
(i.e., after application of the transform attribute, if any) to
the viewport coordinate system for the nearestViewportElement. |
float | getFontSize()
Returns the font-size on the associated element. |
AffineTransform | getGlobalTransform()
Returns the global transformation matrix from the current
element to the root. |
float | getPixelToMM()
Returns the size of a px CSS unit in millimeters.
|
float | getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters. |
AffineTransform | getScreenTransform()
Returns the transform from the global transform space to pixels. |
float | getViewportHeight()
Returns the height of the viewport which directly contains the
associated element. |
float | getViewportWidth()
Returns the width of the viewport which directly contains the
associated element. |
void | handleAnimatedAttributeChanged(AnimatedLiveAttributeValue alav) |
void | handleCSSEngineEvent(CSSEngineEvent evt) |
void | handleDOMAttrModifiedEvent(MutationEvent evt) |
void | handleDOMCharacterDataModified(MutationEvent evt) |
void | handleDOMNodeInsertedEvent(MutationEvent evt) |
void | handleDOMNodeRemovedEvent(MutationEvent evt) |
void | handleElement(BridgeContext ctx, Element e)
Invoked to handle an Element for a given BridgeContext.
|
void | handleOtherAnimationChanged(String type) |
void | setScreenTransform(AffineTransform at)
Sets the transform to be used from the global transform space to pixels. |
See Also: getPixelUnitToMillimeter
Parameters: ctx the bridge context to use e the element being handled