|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.dom.svg
Interface SVGSVGContext

- All Superinterfaces:
- SVGContext
- public interface SVGSVGContext
- extends SVGContext
Context class for svg:svg elements. Eventually this interface will likely have a number of other methods but for now it will have methods to do intersection and enclosure checking.
- Version:
- $Id: SVGSVGContext.java,v 1.3 2005/03/27 08:58:32 cam Exp $
| Method Summary | |
boolean |
checkEnclosure(org.w3c.dom.Element element,
org.w3c.dom.svg.SVGRect rect)
Returns true if the given DOM element is enclosed in the svgRect. |
boolean |
checkIntersection(org.w3c.dom.Element element,
org.w3c.dom.svg.SVGRect rect)
Returns true if the given DOM element intersects svgRect. |
void |
deselectAll()
Used to inform the user agent that the text selection should be cleared. |
java.util.List |
getEnclosureList(org.w3c.dom.svg.SVGRect rect,
org.w3c.dom.Element end)
Returns a List of all the DOM elements that are encosed in svgRect that are below end in the rendering order. |
java.util.List |
getIntersectionList(org.w3c.dom.svg.SVGRect svgRect,
org.w3c.dom.Element end)
Returns a List of all the DOM elements that intersect svgRect that are below end in the rendering order. |
| Methods inherited from interface org.apache.batik.dom.svg.SVGContext |
getBBox, getCTM, getFontSize, getGlobalTransform, getPixelToMM, getPixelUnitToMillimeter, getScreenTransform, getViewportHeight, getViewportWidth, setScreenTransform |
| Method Detail |
getIntersectionList
public java.util.List getIntersectionList(org.w3c.dom.svg.SVGRect svgRect, org.w3c.dom.Element end)
- Returns a List of all the DOM elements that intersect
svgRect that are below end in the
rendering order.
getEnclosureList
public java.util.List getEnclosureList(org.w3c.dom.svg.SVGRect rect, org.w3c.dom.Element end)
- Returns a List of all the DOM elements that are encosed in
svgRect that are below end in the
rendering order.
checkIntersection
public boolean checkIntersection(org.w3c.dom.Element element, org.w3c.dom.svg.SVGRect rect)
- Returns true if the given DOM element intersects
svgRect.
checkEnclosure
public boolean checkEnclosure(org.w3c.dom.Element element, org.w3c.dom.svg.SVGRect rect)
- Returns true if the given DOM element is enclosed in the
svgRect.
deselectAll
public void deselectAll()
- Used to inform the user agent that the text selection should be
cleared.
|
|||||||||
| Home >> All >> org >> apache >> batik >> dom >> [ svg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC