|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BridgeContext | |
org.apache.batik.bridge | Provides an API for mapping and maintaining consistency between the SVG DOM tree and the GVT tree. |
org.apache.batik.extension.svg | |
org.apache.batik.swing.svg |
Uses of BridgeContext in org.apache.batik.bridge |
Fields in org.apache.batik.bridge declared as BridgeContext | |
protected BridgeContext |
UnitProcessor.DefaultContext.ctx
|
protected BridgeContext |
SVGFontFamily.ctx
|
Methods in org.apache.batik.bridge that return BridgeContext | |
BridgeContext |
BridgeMutationEvent.getBridgeContext()
Returns the bridge context of this event. |
Methods in org.apache.batik.bridge with parameters of type BridgeContext | |
java.awt.Paint |
PaintBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
GraphicsNode |
AbstractGraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
AbstractGraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
GraphicsNode |
SVGShapeElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and for the specified element. |
void |
SVGShapeElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
protected ShapePainter |
SVGShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element. |
protected abstract void |
SVGShapeElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode node)
Initializes the specified ShapeNode's shape defined by the specified Element and using the specified bridge context. |
protected void |
SVGCircleElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a circle according to the specified parameters. |
Filter |
FilterPrimitiveBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
protected void |
SVGRectElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a rectangle according to the specified parameters. |
Mask |
SVGMaskElementBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a Mask according to the specified parameters. |
protected static Filter |
AbstractSVGFilterPrimitiveElementBridge.getIn(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns the input source of the specified filter primitive element defined by its 'in' attribute. |
protected static Filter |
AbstractSVGFilterPrimitiveElementBridge.getIn2(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns the input source of the specified filter primitive element defined by its 'in2' attribute. |
Filter |
SVGFeTurbulenceElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
void |
GenericBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an Element for a given BridgeContext. |
Kern |
SVGKernElementBridge.createKern(BridgeContext ctx,
Element kernElement,
SVGGVTFont font)
Creates a Kern object that repesents the specified kerning element. |
ICCColorSpaceExt |
SVGColorProfileElementBridge.createICCColorSpaceExt(BridgeContext ctx,
Element paintedElement,
java.lang.String iccProfileName)
Creates an ICC_ColorSpace according to the specified parameters. |
Filter |
SVGFeConvolveMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
protected ShapePainter |
SVGDecoratedShapeElementBridge.createShapePainter(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Creates the shape painter associated to the specified element. |
protected void |
SVGPolygonElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a polygon according to the specified parameters. |
Filter |
SVGFeTileElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
static GVTFontFamily |
SVGFontUtilities.getFontFamily(Element textElement,
BridgeContext ctx,
java.lang.String fontFamilyName,
java.lang.String fontWeight,
java.lang.String fontStyle)
Given a font family name tries to find a matching SVG font object. |
SVGFontFace |
SVGFontFaceElementBridge.createFontFace(BridgeContext ctx,
Element fontFaceElement)
Creates an SVGFontFace that repesents the specified <font-face> element. |
void |
SVGBridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support for the tags in this extension. |
java.awt.Paint |
AbstractSVGGradientElementBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
protected abstract java.awt.Paint |
AbstractSVGGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a concrete gradient according to the specified parameters. |
protected static java.util.List |
AbstractSVGGradientElementBridge.extractStop(Element paintElement,
float opacity,
BridgeContext ctx)
Returns the stops elements of the specified gradient element. |
protected static java.util.List |
AbstractSVGGradientElementBridge.extractLocalStop(Element gradientElement,
float opacity,
BridgeContext ctx)
Returns a list of Stop elements, children of the specified paintElement can have or null if any. |
protected java.awt.Paint |
SVGLinearGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a linear gradient according to the specified parameters. |
GraphicsNode |
SVGUseElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
SVGUseElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
GraphicsNode |
SVGSwitchElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
SVGSwitchElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
Glyph[] |
SVGAltGlyphElementBridge.createAltGlyphArray(BridgeContext ctx,
Element altGlyphElement,
float fontSize,
java.text.AttributedCharacterIterator aci)
Constructs an array of Glyphs that represents the specified <altGlyph> element at the requested size. |
protected void |
SVGPolylineElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a polyline according to the specified parameters. |
protected java.awt.Paint |
SVGRadialGradientElementBridge.buildGradient(Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
MultipleGradientPaint.CycleMethodEnum spreadMethod,
MultipleGradientPaint.ColorSpaceEnum colorSpace,
java.awt.geom.AffineTransform transform,
java.awt.Color[] colors,
float[] offsets,
BridgeContext ctx)
Builds a radial gradient according to the specified parameters. |
GraphicsNode |
SVGGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
AbstractSVGGradientElementBridge.Stop |
AbstractSVGGradientElementBridge.SVGStopElementBridge.createStop(BridgeContext ctx,
Element gradientElement,
Element stopElement,
float opacity)
Creates a Stop according to the specified parameters. |
protected void |
SVGLineElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a line according to the specified parameters. |
static java.lang.String |
SVGUtilities.getChainableAttributeNS(Element element,
java.lang.String namespaceURI,
java.lang.String attrName,
BridgeContext ctx)
Returns the value of the specified attribute specified on the specified element or one of its ancestor. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertMaskRegion(Element maskElement,
Element maskedElement,
GraphicsNode maskedNode,
BridgeContext ctx)
Returns the mask region according to the x, y, width, height, and maskUnits attributes. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertPatternRegion(Element patternElement,
Element paintedElement,
GraphicsNode paintedNode,
BridgeContext ctx)
Returns the pattern region according to the x, y, width, height, and patternUnits attributes. |
static float[] |
SVGUtilities.convertFilterRes(Element filterElement,
BridgeContext ctx)
Returns an array of 2 float numbers that describes the filter resolution of the specified filter element. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterChainRegion(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Returns the filter region according to the x, y, width, height, and filterUnits attributes. |
static java.awt.geom.Rectangle2D |
SVGUtilities.convertFilterPrimitiveRegion(Element filterPrimitiveElement,
Element filteredElement,
GraphicsNode filteredNode,
java.awt.geom.Rectangle2D defaultRegion,
java.awt.geom.Rectangle2D filterRegion,
BridgeContext ctx)
Returns the filter primitive region according to the x, y, width, height, and filterUnits attributes. |
static void |
SVGUtilities.bridgeChildren(BridgeContext ctx,
Element elt)
Scans the children of the input e element and invokes any registered bridge found for the children. |
Filter |
SVGFeFloodElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
GraphicsNode |
SVGImageElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a graphics node using the specified BridgeContext and for the specified element. |
void |
SVGImageElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
protected static GraphicsNode |
SVGImageElementBridge.createRasterImageNode(BridgeContext ctx,
Element e,
ParsedURL purl)
Returns a GraphicsNode that represents an raster image in JPEG or PNG format. |
protected static GraphicsNode |
SVGImageElementBridge.createSVGImageNode(BridgeContext ctx,
Element e,
SVGDocument imgDocument)
Returns a GraphicsNode that represents a svg document as an image. |
protected static void |
SVGImageElementBridge.initializeViewport(BridgeContext ctx,
Element e,
GraphicsNode node,
float[] vb,
java.awt.geom.Rectangle2D bounds)
Initializes according to the specified element, the specified graphics node with the specified bounds. |
protected static ICCColorSpaceExt |
SVGImageElementBridge.extractColorSpace(Element element,
BridgeContext ctx)
Analyzes the color-profile property and builds an ICCColorSpaceExt object from it. |
protected static java.awt.geom.Rectangle2D |
SVGImageElementBridge.getImageBounds(BridgeContext ctx,
Element element)
Returns the bounds of the specified image element. |
static UnitProcessor.Context |
UnitProcessor.createContext(BridgeContext ctx,
Element e)
Creates a context for the specified element. |
protected void |
SVGPathElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a path according to the specified parameters. |
SVGGVTFont |
SVGFontElementBridge.createFont(BridgeContext ctx,
Element fontElement,
Element textElement,
float size,
SVGFontFace fontFace)
Constructs a new SVGGVTFont that represents the specified <font> element at the requested size. |
GraphicsNode |
GVTBuilder.build(BridgeContext ctx,
Document document)
Builds using the specified bridge context the specified SVG document. |
GraphicsNode |
GVTBuilder.build(BridgeContext ctx,
Element e)
Builds using the specified bridge context the specified Element. |
protected void |
GVTBuilder.buildComposite(BridgeContext ctx,
Element e,
CompositeGraphicsNode parentNode)
Builds a composite Element. |
protected void |
GVTBuilder.buildGraphicsNode(BridgeContext ctx,
Element e,
CompositeGraphicsNode parentNode)
Builds a 'leaf' Element. |
void |
BridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support for the tags in this extension. |
Filter |
SVGFeImageElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
protected static Filter |
SVGFeImageElementBridge.createSVGFeImage(BridgeContext ctx,
java.awt.geom.Rectangle2D primitiveRegion,
Element refElement)
Returns a Filter that represents a svg document or element as an image. |
protected static Filter |
SVGFeImageElementBridge.createRasterFeImage(BridgeContext ctx,
java.awt.geom.Rectangle2D primitiveRegion,
ParsedURL purl)
Returns a Filter that represents an raster image (JPG or PNG). |
static Filter |
CSSUtilities.convertFilter(Element filteredElement,
GraphicsNode filteredNode,
BridgeContext ctx)
Returns a Filter referenced by the specified element and which applies on the specified graphics node. |
static ClipRable |
CSSUtilities.convertClipPath(Element clipedElement,
GraphicsNode clipedNode,
BridgeContext ctx)
Returns a Clip referenced by the specified element and which applies on the specified graphics node. |
static Mask |
CSSUtilities.convertMask(Element maskedElement,
GraphicsNode maskedNode,
BridgeContext ctx)
Returns a Mask referenced by the specified element and which applies on the specified graphics node. |
static java.awt.Color |
CSSUtilities.convertLightingColor(Element e,
BridgeContext ctx)
Converts the color defined on the specified lighting filter element to a Color. |
static java.awt.Color |
CSSUtilities.convertFloodColor(Element e,
BridgeContext ctx)
Converts the color defined on the specified <feFlood> element to a Color. |
static java.awt.Color |
CSSUtilities.convertStopColor(Element stopElement,
float opacity,
BridgeContext ctx)
Converts the color defined on the specified <stop> element to a Color. |
Filter |
SVGFilterElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a Filter according to the specified parameters. |
protected static Filter |
SVGFilterElementBridge.buildFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.Map filterNodeMap,
BridgeContext ctx)
Builds the filter primitives of filter chain of the specified filter element and returns the last filter primitive created. |
protected static Filter |
SVGFilterElementBridge.buildLocalFilterPrimitives(Element filterElement,
java.awt.geom.Rectangle2D filterRegion,
Element filteredElement,
GraphicsNode filteredNode,
Filter in,
java.util.Map filterNodeMap,
BridgeContext ctx)
Builds the filter primitives of filter chain of the specified filter element and returns the last filter primitive created or 'in' if no filter primitive has been specified. |
protected static Light |
AbstractSVGLightingElementBridge.extractLight(Element filterElement,
BridgeContext ctx)
Returns the light from the specified lighting filter primitive element or null if any |
Filter |
SVGFeDiffuseLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
SVGFeComponentTransferElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
GraphicsNode |
SVGTextElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
SVGTextElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
protected java.text.AttributedString |
SVGTextElementBridge.buildAttributedString(BridgeContext ctx,
Element element,
GraphicsNode node)
Creates the attributed string which represents the given text element children. |
protected java.util.List |
SVGTextElementBridge.buildAttributedStrings(BridgeContext ctx,
Element element,
GraphicsNode node,
boolean top,
TextPath textPath,
java.util.LinkedList result)
Creates the attributed strings which represent the given text element children. |
protected void |
SVGTextElementBridge.addGlyphPositionAttributes(java.text.AttributedString as,
Element element,
BridgeContext ctx)
Adds glyph position attributes to an AttributedString. |
protected void |
SVGTextElementBridge.addPaintAttributes(java.text.AttributedString as,
Element element,
TextNode node,
SVGTextElementBridge.TextDecoration textDecoration,
BridgeContext ctx)
Adds painting attributes to an AttributedString. |
protected java.util.Map |
SVGTextElementBridge.getAttributeMap(BridgeContext ctx,
Element element,
GraphicsNode node,
TextPath textPath)
Returns the map to pass to the current characters. |
Filter |
SVGFeCompositeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
SVGFeBlendElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Marker |
MarkerBridge.createMarker(BridgeContext ctx,
Element markerElement,
Element paintedElement)
Creates a Marker according to the specified parameters. |
Filter |
SVGFeSpecularLightingElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
SVGFeMorphologyElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
FilterBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode)
Creates a Filter according to the specified parameters. |
Filter |
SVGFeColorMatrixElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
void |
SVGTitleElementBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an Element for a given BridgeContext. |
Glyph |
SVGGlyphElementBridge.createGlyph(BridgeContext ctx,
Element glyphElement,
Element textElement,
int glyphCode,
float fontSize,
SVGFontFace fontFace,
java.awt.Paint fillPaint,
java.awt.Paint strokePaint,
java.awt.Stroke stroke)
Constructs a new Glyph that represents the specified <glyph> element at the requested size. |
java.awt.Paint |
SVGPatternElementBridge.createPaint(BridgeContext ctx,
Element patternElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
protected static CompositeGraphicsNode |
SVGPatternElementBridge.extractPatternContent(Element patternElement,
BridgeContext ctx)
Returns the content of the specified pattern element. |
protected static CompositeGraphicsNode |
SVGPatternElementBridge.extractLocalPatternContent(Element e,
BridgeContext ctx)
Returns the content of the specified pattern element or null if any. |
static void |
BridgeContext.registerSVGBridges(BridgeContext ctx)
Registers the bridges to handle SVG 1.0 elements. |
Filter |
SVGFeDisplacementMapElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
SVGFeGaussianBlurElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
Filter |
SVGFeOffsetElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
GraphicsNode |
SVGSVGElementBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
SVGSVGElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
void |
SVGAElementBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
void |
SVGDescElementBridge.handleElement(BridgeContext ctx,
Element e)
Invoked to handle an Element for a given BridgeContext. |
static ShapePainter |
PaintServer.convertMarkers(Element paintedElement,
ShapeNode node,
BridgeContext ctx)
Returns a ShapePainter defined on the specified element and for the specified shape node. |
static Marker |
PaintServer.convertMarker(Element paintedElement,
CSSPrimitiveValue v,
BridgeContext ctx)
Returns a Marker defined on the specified element by the specified value, and for the specified shape node. |
static ShapePainter |
PaintServer.convertFillAndStroke(Element e,
ShapeNode node,
BridgeContext ctx)
Returns a ShapePainter defined on the specified element and for the specified shape node, and using the specified bridge context. |
static java.awt.Paint |
PaintServer.convertStrokePaint(Element strokedElement,
GraphicsNode strokedNode,
BridgeContext ctx)
Converts for the specified element, its stroke paint properties to a Paint object. |
static java.awt.Paint |
PaintServer.convertFillPaint(Element filledElement,
GraphicsNode filledNode,
BridgeContext ctx)
Converts for the specified element, its fill paint properties to a Paint object. |
protected static java.awt.Paint |
PaintServer.convertPaint(Element paintedElement,
GraphicsNode paintedNode,
CSSValue paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint definition to a concrete java.awt.Paint instance according to the specified parameters. |
static java.awt.Paint |
PaintServer.silentConvertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
CSSValue paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified by URI without sending any error. if a problem occured while processing the URI, it just returns null (same effect as 'none') |
static java.awt.Paint |
PaintServer.convertURIPaint(Element paintedElement,
GraphicsNode paintedNode,
CSSValue paintDef,
float opacity,
BridgeContext ctx)
Converts a Paint specified as a URI. |
static java.awt.Color |
PaintServer.convertRGBICCColor(Element paintedElement,
SVGColor colorDef,
float opacity,
BridgeContext ctx)
Returns a Color object that corresponds to the input Paint's ICC color value or an RGB color if the related color profile could not be used or loaded for any reason. |
static java.awt.Color |
PaintServer.convertICCColor(Element e,
SVGICCColor c,
float opacity,
BridgeContext ctx)
Returns a Color object that corresponds to the input Paint's ICC color value or null if the related color profile could not be used or loaded for any reason. |
static java.awt.Stroke |
PaintServer.convertStroke(Element strokedElement,
BridgeContext ctx)
Converts a Stroke object defined on the specified element. |
GraphicsNode |
GraphicsNodeBridge.createGraphicsNode(BridgeContext ctx,
Element e)
Creates a GraphicsNode according to the specified parameters. |
void |
GraphicsNodeBridge.buildGraphicsNode(BridgeContext ctx,
Element e,
GraphicsNode node)
Builds using the specified BridgeContext and element, the specified graphics node. |
TextPath |
SVGTextPathElementBridge.createTextPath(BridgeContext ctx,
Element textPathElement)
Creates a TextPath object that represents the path along which the text is to be rendered. |
protected void |
SVGEllipseElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs an ellipse according to the specified parameters. |
abstract Light |
AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFeDistantLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a Light according to the specified parameters. |
Light |
AbstractSVGLightingElementBridge.SVGFePointLightElementBridge.createLight(BridgeContext ctx,
Element filterElement,
Element lightElement,
java.awt.Color color)
Creates a Light according to the specified parameters. |
ClipRable |
SVGClipPathElementBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a Clip according to the specified parameters. |
Filter |
SVGFeMergeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
protected static java.util.List |
SVGFeMergeElementBridge.extractFeMergeNode(Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap,
BridgeContext ctx)
Returns a list of Filter objects that represents the feMergeNode of the specified feMerge filter element. |
Filter |
SVGFeMergeElementBridge.SVGFeMergeNodeElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.util.Map filterMap)
Creates a Filter according to the specified parameters. |
static float[] |
TextUtilities.svgHorizontalCoordinateArrayToUserSpace(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx)
Returns the float array that represents a set of horizontal values or percentage. |
static float[] |
TextUtilities.svgVerticalCoordinateArrayToUserSpace(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx)
Returns the float array that represents a set of values or percentage. |
static float[] |
TextUtilities.svgRotateArrayToFloats(Element element,
java.lang.String attrName,
java.lang.String valueStr,
BridgeContext ctx)
|
static float |
TextUtilities.convertFontSize(Element svgElement,
BridgeContext ctx,
CSSOMReadOnlyStyleDeclaration decl,
UnitProcessor.Context uctx)
Converts the font-size CSS value to a float value. |
Mask |
MaskBridge.createMask(BridgeContext ctx,
Element maskElement,
Element maskedElement,
GraphicsNode maskedNode)
Creates a Mask according to the specified parameters. |
Marker |
SVGMarkerElementBridge.createMarker(BridgeContext ctx,
Element markerElement,
Element paintedElement)
Creates a Marker according to the specified parameters. |
ClipRable |
ClipBridge.createClip(BridgeContext ctx,
Element clipElement,
Element clipedElement,
GraphicsNode clipedNode)
Creates a Clip according to the specified parameters. |
Constructors in org.apache.batik.bridge with parameters of type BridgeContext | |
SVGGVTFont(float fontSize,
SVGFontFace fontFace,
java.lang.String[] glyphUnicodes,
java.lang.String[] glyphNames,
java.lang.String[] glyphLangs,
java.lang.String[] glyphOrientations,
java.lang.String[] glyphForms,
BridgeContext ctx,
Element[] glyphElements,
Element missingGlyphElement,
Element[] hkernElements,
Element[] vkernElements,
Element textElement)
Constructs a new SVGGVTFont of the specified size. |
|
BridgeMutationEvent(java.lang.Object source,
BridgeContext context,
int type)
|
|
UnitProcessor.DefaultContext(BridgeContext ctx,
Element e)
|
|
SVGFontFamily(SVGFontFace fontFace,
Element fontElement,
BridgeContext ctx)
Constructs an SVGFontFamily. |
|
SVGAltGlyphHandler(BridgeContext ctx,
Element textElement)
Constructs an SVGAltGlyphHandler. |
Uses of BridgeContext in org.apache.batik.extension.svg |
Methods in org.apache.batik.extension.svg with parameters of type BridgeContext | |
java.awt.Paint |
ColorSwitchBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
protected void |
BatikStarElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a star polygone according to the specified parameters. |
protected void |
BatikRegularPolygonElementBridge.buildShape(BridgeContext ctx,
Element e,
ShapeNode shapeNode)
Constructs a regular polygone according to the specified parameters. |
java.awt.Paint |
SolidColorBridge.createPaint(BridgeContext ctx,
Element paintElement,
Element paintedElement,
GraphicsNode paintedNode,
float opacity)
Creates a Paint according to the specified parameters. |
Filter |
BatikHistogramNormalizationElementBridge.createFilter(BridgeContext ctx,
Element filterElement,
Element filteredElement,
GraphicsNode filteredNode,
Filter inputFilter,
java.awt.geom.Rectangle2D filterRegion,
java.util.Map filterMap)
Creates a Filter primitive according to the specified parameters. |
void |
BatikBridgeExtension.registerTags(BridgeContext ctx)
This method should update the BridgeContext with support for the tags in this extension. |
Uses of BridgeContext in org.apache.batik.swing.svg |
Fields in org.apache.batik.swing.svg declared as BridgeContext | |
protected BridgeContext |
JSVGComponent.bridgeContext
The current bridge context. |
protected BridgeContext |
GVTTreeBuilder.bridgeContext
The bridge context to use. |
Methods in org.apache.batik.swing.svg that return BridgeContext | |
protected BridgeContext |
JSVGComponent.createBridgeContext()
Creates a new bridge context. |
Constructors in org.apache.batik.swing.svg with parameters of type BridgeContext | |
GVTTreeBuilder(SVGDocument doc,
BridgeContext bc)
Creates a new GVTTreeBuilder. |
|
JSVGComponent.SVGListener.MutationListener(BridgeContext bridgeContext)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |