public interface SVGSVGContext extends SVGContext
PERCENTAGE_FONT_SIZE, PERCENTAGE_VIEWPORT_HEIGHT, PERCENTAGE_VIEWPORT_SIZE, PERCENTAGE_VIEWPORT_WIDTH
Modifier and Type | Method and Description |
---|---|
boolean |
animationsPaused()
Returns whether animations are currently paused.
|
boolean |
checkEnclosure(Element element,
org.w3c.dom.svg.SVGRect rect)
Returns true if the given DOM element is enclosed in the
svgRect . |
boolean |
checkIntersection(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.
|
void |
forceRedraw()
Forces an immediate redraw of the canvas.
|
float |
getCurrentTime()
Returns the current document time.
|
java.util.List |
getEnclosureList(org.w3c.dom.svg.SVGRect rect,
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,
Element end)
Returns a List of all the DOM elements that intersect
svgRect that are below end in the
rendering order. |
void |
pauseAnimations()
Pauses animations in the document.
|
void |
setCurrentTime(float t)
Sets the current document time.
|
int |
suspendRedraw(int max_wait_milliseconds)
Suspends redrawing of the canvas for the given number of milliseconds.
|
void |
unpauseAnimations()
Unpauses animations in the document.
|
boolean |
unsuspendRedraw(int suspend_handle_id)
Unsuspends redrawing of the canvas.
|
void |
unsuspendRedrawAll()
Unsuspends redrawing of the canvas.
|
getBBox, getCTM, getFontSize, getGlobalTransform, getPixelToMM, getPixelUnitToMillimeter, getScreenTransform, getViewportHeight, getViewportWidth, setScreenTransform
java.util.List getIntersectionList(org.w3c.dom.svg.SVGRect svgRect, Element end)
svgRect
that are below end
in the
rendering order.java.util.List getEnclosureList(org.w3c.dom.svg.SVGRect rect, Element end)
svgRect
that are below end
in the
rendering order.boolean checkIntersection(Element element, org.w3c.dom.svg.SVGRect rect)
svgRect
.boolean checkEnclosure(Element element, org.w3c.dom.svg.SVGRect rect)
svgRect
.void deselectAll()
int suspendRedraw(int max_wait_milliseconds)
boolean unsuspendRedraw(int suspend_handle_id)
void unsuspendRedrawAll()
void forceRedraw()
void pauseAnimations()
void unpauseAnimations()
boolean animationsPaused()
float getCurrentTime()
void setCurrentTime(float t)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.