/** * Invoked when the geometry of a graphical element has changed. */ protected void handleGeometryChanged() { node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); node.setMask(CSSUtilities.convertMask(e, node, ctx)); node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); if (isSVG12) { if (!SVG_USE_TAG.equals(e.getLocalName())) { // ShapeChange events get fired only for basic shapes and paths. fireShapeChangeEvent(); } fireBBoxChangeEvent(); } }
/** * Invoked when the geometry of a graphical element has changed. */ protected void handleGeometryChanged() { node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); node.setMask(CSSUtilities.convertMask(e, node, ctx)); node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); if (isSVG12) { if (!SVG_USE_TAG.equals(e.getLocalName())) { // ShapeChange events get fired only for basic shapes and paths. fireShapeChangeEvent(); } fireBBoxChangeEvent(); } }
/** * Invoked when the geometry of a graphical element has changed. */ protected void handleGeometryChanged() { node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); node.setMask(CSSUtilities.convertMask(e, node, ctx)); node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); if (isSVG12) { if (!SVG_USE_TAG.equals(e.getLocalName())) { // ShapeChange events get fired only for basic shapes and paths. fireShapeChangeEvent(); } fireBBoxChangeEvent(); } }
ClipRable clip = CSSUtilities.convertClipPath(child, outlineNode, ctx); CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx); if (clipElementClipPath != null) { clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
ClipRable clip = CSSUtilities.convertClipPath(child, outlineNode, ctx); CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx); if (clipElementClipPath != null) { clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
ClipRable clip = CSSUtilities.convertClipPath(child, outlineNode, ctx); CSSUtilities.convertClipPath(clipElement, clipPathNode, ctx); if (clipElementClipPath != null) { clipPath.subtract(new Area(clipElementClipPath.getClipPath()));
node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
/** * Builds using the specified BridgeContext and element, the * specified graphics node. * * @param ctx the bridge context to use * @param e the element that describes the graphics node to build * @param node the graphics node to build */ public void buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) { // 'opacity' node.setComposite(CSSUtilities.convertOpacity(e)); // 'filter' node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); // 'mask' node.setMask(CSSUtilities.convertMask(e, node, ctx)); // 'clip-path' node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); // 'pointer-events' node.setPointerEventType(CSSUtilities.convertPointerEvents(e)); initializeDynamicSupport(ctx, e, node); }
/** * Builds using the specified BridgeContext and element, the * specified graphics node. * * @param ctx the bridge context to use * @param e the element that describes the graphics node to build * @param node the graphics node to build */ public void buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) { // 'opacity' node.setComposite(CSSUtilities.convertOpacity(e)); // 'filter' node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); // 'mask' node.setMask(CSSUtilities.convertMask(e, node, ctx)); // 'clip-path' node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); // 'pointer-events' node.setPointerEventType(CSSUtilities.convertPointerEvents(e)); initializeDynamicSupport(ctx, e, node); }
node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
/** * Builds using the specified BridgeContext and element, the * specified graphics node. * * @param ctx the bridge context to use * @param e the element that describes the graphics node to build * @param node the graphics node to build */ public void buildGraphicsNode(BridgeContext ctx, Element e, GraphicsNode node) { // 'opacity' node.setComposite(CSSUtilities.convertOpacity(e)); // 'filter' node.setFilter(CSSUtilities.convertFilter(e, node, ctx)); // 'mask' node.setMask(CSSUtilities.convertMask(e, node, ctx)); // 'clip-path' node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); // 'pointer-events' node.setPointerEventType(CSSUtilities.convertPointerEvents(e)); initializeDynamicSupport(ctx, e, node); }
node.setClip(CSSUtilities.convertClipPath(e, node, ctx));
break; case SVGCSSEngine.CLIP_PATH_INDEX: node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); break; case SVGCSSEngine.POINTER_EVENTS_INDEX:
break; case SVGCSSEngine.CLIP_PATH_INDEX: node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); break; case SVGCSSEngine.POINTER_EVENTS_INDEX:
break; case SVGCSSEngine.CLIP_PATH_INDEX: node.setClip(CSSUtilities.convertClipPath(e, node, ctx)); break; case SVGCSSEngine.POINTER_EVENTS_INDEX: