Class SVGPathElementImpl
- All Implemented Interfaces:
EventTarget,HTMLElement,Element,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode,Drawable,SVGAnimatedPathData,SVGElement,SVGExternalResourcesRequired,SVGLangSpace,SVGLocatable,SVGPathElement,SVGStylable,SVGTests,SVGTransformable
SVGPathElementImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.html.node.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateShape(AffineTransform transform) createShape.createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcAbs.createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcRel.createSVGPathSegClosePath.createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicAbs.createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicRel.createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothAbs.createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothRel.createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticAbs.createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticRel.createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y) createSVGPathSegCurvetoQuadraticSmoothAbs.createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y) createSVGPathSegCurvetoQuadraticSmoothRel.createSVGPathSegLinetoAbs(float x, float y) createSVGPathSegLinetoAbs.createSVGPathSegLinetoHorizontalAbs(float x) createSVGPathSegLinetoHorizontalAbs.createSVGPathSegLinetoHorizontalRel(float x) createSVGPathSegLinetoHorizontalRel.createSVGPathSegLinetoRel(float x, float y) createSVGPathSegLinetoRel.createSVGPathSegLinetoVerticalAbs(float y) createSVGPathSegLinetoVerticalAbs.createSVGPathSegLinetoVerticalRel(float y) createSVGPathSegLinetoVerticalRel.createSVGPathSegMovetoAbs(float x, float y) createSVGPathSegMovetoAbs.createSVGPathSegMovetoRel(float x, float y) createSVGPathSegMovetoRel.voiddraw(Graphics2D graphics) draw.getAnimatedNormalizedPathSegList.getAnimatedPathSegList.getBBox()getBBox.getNormalizedPathSegList.getPathLength.intgetPathSegAtLength(float distance) getPathSegAtLength.getPathSegList.getPointAtLength(float distance) getPointAtLength.floatgetTotalLength.Methods inherited from class org.loboevolution.svg.dom.SVGGraphic
animate, drawable, getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from class org.loboevolution.svg.dom.SVGTransformableImpl
getTransformMethods inherited from class org.loboevolution.svg.dom.SVGLocatableImpl
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElementMethods inherited from class org.loboevolution.svg.dom.SVGStylableImpl
child, drawStyle, getClippingPath, getClipRule, getDisplay, getFillPaint, getFont, getFontAscent, getFontDescent, getFontElement, getFontFace, getFontSize, getFontUnitsPerEm, getHorizAdvX, getOpacity, getStopColor, getStopOpacity, getStroke, getStrokeDashArray, getStrokeLineCap, getStrokeLinejoin, getStrokelPaint, getStrokeMiterlimit, getStrokeWidth, getTextAnchor, getVisibilityMethods inherited from class org.loboevolution.svg.dom.SVGElementImpl
getExternalResourcesRequired, getOwnerSVGElement, getRequiredExtensions, getRequiredFeatures, getSystemLanguage, getViewportElement, hasExtension, setOwnerSVGElementMethods inherited from class org.loboevolution.svg.dom.SVGElementWrapper
addEventListener, addEventListener, appendChild, appendChildrenToCollectionImpl, click, cloneNode, cloneNode, closest, compareDocumentPosition, contains, dispatchEvent, dispatchEvent, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAccessKey, getAccessKeyLabel, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getAutocapitalize, getBaseURI, getBoundingClientRect, getChildElementCount, getChildNodes, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getCurrentStyle, getDir, getDocumentItem, getDocumentNode, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getFirstElementChild, getFullURL, getId, getInnerHTML, getInnerText, getLang, getLastChild, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOuterHTML, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getPrefix, getPreviousElementSibling, getPreviousSibling, getPreviousTo, getRenderState, getRootNode, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getStyle, getTagName, getTextContent, getTitle, getUserData, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, insertBefore, isDefaultNamespace, isDraggable, isEqualNode, isEqualOrDescendentOf, isHidden, isIsConnected, isSameNode, isSpellcheck, isSupported, isTranslate, lookupNamespaceURI, lookupPrefix, matches, normalize, prepend, prependChild, querySelector, querySelectorAll, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, removeEventListener, removeEventListener, replaceChild, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAutocapitalize, setClassName, setContentEditable, setDir, setDocumentItem, setDraggable, setHidden, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setInnerText, setLang, setNamespaceURI, setNodeValue, setOuterHTML, setOwnerDocument, setOwnerDocument, setParentImpl, setPointerCapture, setPrefix, setScrollLeft, setScrollTop, setSlot, setSpellcheck, setTextContent, setTitle, setTranslate, setUserData, toggleAttribute, toggleAttribute, visit, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttributeMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAllMethods inherited from interface org.loboevolution.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, setId, setOwnerSVGElementMethods inherited from interface org.loboevolution.svg.SVGExternalResourcesRequired
getExternalResourcesRequiredMethods inherited from interface org.loboevolution.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from interface org.loboevolution.svg.SVGLocatable
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElementMethods inherited from interface org.loboevolution.svg.SVGStylable
getStyleMethods inherited from interface org.loboevolution.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtensionMethods inherited from interface org.loboevolution.svg.SVGTransformable
getTransform
-
Constructor Details
-
SVGPathElementImpl
Constructor for SVGPathElementImpl.
- Parameters:
element- aHTMLElementobject.
-
-
Method Details
-
getBBox
Description copied from interface:SVGLocatablegetBBox.
- Specified by:
getBBoxin interfaceSVGLocatable- Returns:
- a
SVGRectobject.
-
getPathSegList
getPathSegList.
- Specified by:
getPathSegListin interfaceSVGAnimatedPathData- Returns:
- a
SVGPathSegListobject.
-
getNormalizedPathSegList
getNormalizedPathSegList.
- Specified by:
getNormalizedPathSegListin interfaceSVGAnimatedPathData- Returns:
- a
SVGPathSegListobject.
-
getAnimatedPathSegList
getAnimatedPathSegList.
- Specified by:
getAnimatedPathSegListin interfaceSVGAnimatedPathData- Returns:
- a
SVGPathSegListobject.
-
getAnimatedNormalizedPathSegList
getAnimatedNormalizedPathSegList.
- Specified by:
getAnimatedNormalizedPathSegListin interfaceSVGAnimatedPathData- Returns:
- a
SVGPathSegListobject.
-
getPathLength
getPathLength.
- Specified by:
getPathLengthin interfaceSVGPathElement- Returns:
- a
SVGAnimatedNumberobject.
-
getTotalLength
public float getTotalLength()getTotalLength.
- Specified by:
getTotalLengthin interfaceSVGPathElement- Returns:
- a float.
-
getPointAtLength
getPointAtLength.
- Specified by:
getPointAtLengthin interfaceSVGPathElement- Parameters:
distance- a float.- Returns:
- a
SVGPointobject.
-
getPathSegAtLength
public int getPathSegAtLength(float distance) getPathSegAtLength.
- Specified by:
getPathSegAtLengthin interfaceSVGPathElement- Parameters:
distance- a float.- Returns:
- a
Integerobject.
-
createSVGPathSegClosePath
createSVGPathSegClosePath.
- Specified by:
createSVGPathSegClosePathin interfaceSVGPathElement- Returns:
- a
SVGPathSegClosePathobject.
-
createSVGPathSegMovetoAbs
createSVGPathSegMovetoAbs.
- Specified by:
createSVGPathSegMovetoAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegMovetoAbsobject.
-
createSVGPathSegMovetoRel
createSVGPathSegMovetoRel.
- Specified by:
createSVGPathSegMovetoRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegMovetoRelobject.
-
createSVGPathSegLinetoAbs
createSVGPathSegLinetoAbs.
- Specified by:
createSVGPathSegLinetoAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegLinetoAbsobject.
-
createSVGPathSegLinetoRel
createSVGPathSegLinetoRel.
- Specified by:
createSVGPathSegLinetoRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegLinetoRelobject.
-
createSVGPathSegCurvetoCubicAbs
public SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicAbs.
- Specified by:
createSVGPathSegCurvetoCubicAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x1- a float.y1- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicAbsobject.
-
createSVGPathSegCurvetoCubicRel
public SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicRel.
- Specified by:
createSVGPathSegCurvetoCubicRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x1- a float.y1- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicRelobject.
-
createSVGPathSegCurvetoQuadraticAbs
public SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticAbs.
- Specified by:
createSVGPathSegCurvetoQuadraticAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x1- a float.y1- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticAbsobject.
-
createSVGPathSegCurvetoQuadraticRel
public SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticRel.
- Specified by:
createSVGPathSegCurvetoQuadraticRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x1- a float.y1- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticRelobject.
-
createSVGPathSegArcAbs
public SVGPathSegArcAbs createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcAbs.
- Specified by:
createSVGPathSegArcAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.r1- a float.r2- a float.angle- a float.largeArcFlag- a boolean.sweepFlag- a boolean.- Returns:
- a
SVGPathSegArcAbsobject.
-
createSVGPathSegArcRel
public SVGPathSegArcRel createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcRel.
- Specified by:
createSVGPathSegArcRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.r1- a float.r2- a float.angle- a float.largeArcFlag- a boolean.sweepFlag- a boolean.- Returns:
- a
SVGPathSegArcRelobject.
-
createSVGPathSegLinetoHorizontalAbs
createSVGPathSegLinetoHorizontalAbs.
- Specified by:
createSVGPathSegLinetoHorizontalAbsin interfaceSVGPathElement- Parameters:
x- a float.- Returns:
- a
SVGPathSegLinetoHorizontalAbsobject.
-
createSVGPathSegLinetoHorizontalRel
createSVGPathSegLinetoHorizontalRel.
- Specified by:
createSVGPathSegLinetoHorizontalRelin interfaceSVGPathElement- Parameters:
x- a float.- Returns:
- a
SVGPathSegLinetoHorizontalRelobject.
-
createSVGPathSegLinetoVerticalAbs
createSVGPathSegLinetoVerticalAbs.
- Specified by:
createSVGPathSegLinetoVerticalAbsin interfaceSVGPathElement- Parameters:
y- a float.- Returns:
- a
SVGPathSegLinetoVerticalAbsobject.
-
createSVGPathSegLinetoVerticalRel
createSVGPathSegLinetoVerticalRel.
- Specified by:
createSVGPathSegLinetoVerticalRelin interfaceSVGPathElement- Parameters:
y- a float.- Returns:
- a
SVGPathSegLinetoVerticalRelobject.
-
createSVGPathSegCurvetoCubicSmoothAbs
public SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothAbs.
- Specified by:
createSVGPathSegCurvetoCubicSmoothAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicSmoothAbsobject.
-
createSVGPathSegCurvetoCubicSmoothRel
public SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothRel.
- Specified by:
createSVGPathSegCurvetoCubicSmoothRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicSmoothRelobject.
-
createSVGPathSegCurvetoQuadraticSmoothAbs
public SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y) createSVGPathSegCurvetoQuadraticSmoothAbs.
- Specified by:
createSVGPathSegCurvetoQuadraticSmoothAbsin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticSmoothAbsobject.
-
createSVGPathSegCurvetoQuadraticSmoothRel
public SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(float x, float y) createSVGPathSegCurvetoQuadraticSmoothRel.
- Specified by:
createSVGPathSegCurvetoQuadraticSmoothRelin interfaceSVGPathElement- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticSmoothRelobject.
-
draw
draw.
- Specified by:
drawin interfaceDrawable- Parameters:
graphics- aGraphics2Dobject.
-
createShape
createShape.
- Specified by:
createShapein interfaceDrawable- Parameters:
transform- aAffineTransformobject.- Returns:
- a
Shapeobject.
-