/** * Checks if the bounding box of the node has changed, and if so, * fires a bboxchange event on the element. */ protected void checkBBoxChange() { if (e != null) { /*Rectangle2D oldBBox = bbox; Rectangle2D newBBox = getBBox(); if (oldBBox != newBBox && newBBox != null) { if (oldBBox == null || oldBBox.getX() != bbox.getX() || oldBBox.getY() != bbox.getY() || oldBBox.getWidth() != bbox.getWidth() || oldBBox.getHeight() != bbox.getHeight()) {*/ fireBBoxChangeEvent(); /*} }*/ } }
/** * Checks if the bounding box of the node has changed, and if so, * fires a bboxchange event on the element. */ protected void checkBBoxChange() { if (e != null) { /*Rectangle2D oldBBox = bbox; Rectangle2D newBBox = getBBox(); if (oldBBox != newBBox && newBBox != null) { if (oldBBox == null || oldBBox.getX() != bbox.getX() || oldBBox.getY() != bbox.getY() || oldBBox.getWidth() != bbox.getWidth() || oldBBox.getHeight() != bbox.getHeight()) {*/ fireBBoxChangeEvent(); /*} }*/ } }
/** * Checks if the bounding box of the node has changed, and if so, * fires a bboxchange event on the element. */ protected void checkBBoxChange() { if (e != null) { /*Rectangle2D oldBBox = bbox; Rectangle2D newBBox = getBBox(); if (oldBBox != newBBox && newBBox != null) { if (oldBBox == null || oldBBox.getX() != bbox.getX() || oldBBox.getY() != bbox.getY() || oldBBox.getWidth() != bbox.getWidth() || oldBBox.getHeight() != bbox.getHeight()) {*/ 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(); } }
/** * 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(); } }