org.apache.batik.bridge
public abstract class SVGTextElementBridge.AbstractTextChildSVGContext extends AnimatableSVGBridge
SVGContext
for
the children of <text>
Field Summary | |
---|---|
protected SVGTextElementBridge | textBridge Text bridge parent |
Constructor Summary | |
---|---|
AbstractTextChildSVGContext(BridgeContext ctx, SVGTextElementBridge parent, Element e)
Initialize the SVGContext implementation
with the bridgeContext, the parent bridge, and the
element supervised by this context |
Method Summary | |
---|---|
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. |
Bridge | getInstance()
Returns a new instance of this bridge. |
String | getLocalName()
Returns the local name of the element this Bridge is dedicated
to. |
String | getNamespaceURI()
Returns the namespace URI of the element this Bridge is
dedicated to. |
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 transformation matrix from the userspace of
the root element to the screen. |
SVGTextElementBridge | getTextBridge() |
float | getViewportHeight()
Returns the height of the viewport which directly contains the
given element. |
float | getViewportWidth()
Returns the width of the viewport which directly contains the
given element. |
void | setScreenTransform(AffineTransform at)
Sets the transformation matrix to be used from the
userspace of the root element to the screen. |
SVGContext
implementation
with the bridgeContext, the parent bridge, and the
element supervised by this contextSee Also: getPixelUnitToMillimeter