Package org.loboevolution.svg
Interface SVGPathElement
- All Superinterfaces:
Drawable,Element,EventTarget,InnerHTML,ModelNode,Node,NonDocumentTypeChildNode,ParentNode,SVGAnimatedPathData,SVGElement,SVGExternalResourcesRequired,SVGLangSpace,SVGLocatable,SVGStylable,SVGTests,SVGTransformable
- All Known Implementing Classes:
SVGPathElementImpl
public interface SVGPathElement
extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGTransformable, SVGAnimatedPathData, Drawable
SVGPathElement interface.
-
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 -
Method Summary
Modifier and TypeMethodDescriptioncreateSVGPathSegArcAbs(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.getPathLength.intgetPathSegAtLength(float distance) getPathSegAtLength.getPointAtLength(float distance) getPointAtLength.floatgetTotalLength.Methods inherited from interface org.loboevolution.svg.Drawable
createShape, drawMethods 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, getInnerText, 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.SVGAnimatedPathData
getAnimatedNormalizedPathSegList, getAnimatedPathSegList, getNormalizedPathSegList, getPathSegListMethods 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
getBBox, 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
-
Method Details
-
getPathLength
SVGAnimatedNumber getPathLength()getPathLength.
- Returns:
- a
SVGAnimatedNumberobject.
-
getTotalLength
float getTotalLength()getTotalLength.
- Returns:
- a float.
-
getPointAtLength
getPointAtLength.
- Parameters:
distance- a float.- Returns:
- a
SVGPointobject.
-
getPathSegAtLength
int getPathSegAtLength(float distance) getPathSegAtLength.
- Parameters:
distance- a float.- Returns:
- a
Integerobject.
-
createSVGPathSegClosePath
SVGPathSegClosePath createSVGPathSegClosePath()createSVGPathSegClosePath.
- Returns:
- a
SVGPathSegClosePathobject.
-
createSVGPathSegMovetoAbs
createSVGPathSegMovetoAbs.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegMovetoAbsobject.
-
createSVGPathSegMovetoRel
createSVGPathSegMovetoRel.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegMovetoRelobject.
-
createSVGPathSegLinetoAbs
createSVGPathSegLinetoAbs.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegLinetoAbsobject.
-
createSVGPathSegLinetoRel
createSVGPathSegLinetoRel.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegLinetoRelobject.
-
createSVGPathSegCurvetoCubicAbs
SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicAbs.
- Parameters:
x- a float.y- a float.x1- a float.y1- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicAbsobject.
-
createSVGPathSegCurvetoCubicRel
SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2) createSVGPathSegCurvetoCubicRel.
- Parameters:
x- a float.y- a float.x1- a float.y1- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicRelobject.
-
createSVGPathSegCurvetoQuadraticAbs
SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticAbs.
- Parameters:
x- a float.y- a float.x1- a float.y1- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticAbsobject.
-
createSVGPathSegCurvetoQuadraticRel
SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1) createSVGPathSegCurvetoQuadraticRel.
- Parameters:
x- a float.y- a float.x1- a float.y1- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticRelobject.
-
createSVGPathSegArcAbs
SVGPathSegArcAbs createSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcAbs.
- 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
SVGPathSegArcRel createSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) createSVGPathSegArcRel.
- 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.
- Parameters:
x- a float.- Returns:
- a
SVGPathSegLinetoHorizontalAbsobject.
-
createSVGPathSegLinetoHorizontalRel
createSVGPathSegLinetoHorizontalRel.
- Parameters:
x- a float.- Returns:
- a
SVGPathSegLinetoHorizontalRelobject.
-
createSVGPathSegLinetoVerticalAbs
createSVGPathSegLinetoVerticalAbs.
- Parameters:
y- a float.- Returns:
- a
SVGPathSegLinetoVerticalAbsobject.
-
createSVGPathSegLinetoVerticalRel
createSVGPathSegLinetoVerticalRel.
- Parameters:
y- a float.- Returns:
- a
SVGPathSegLinetoVerticalRelobject.
-
createSVGPathSegCurvetoCubicSmoothAbs
SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothAbs.
- Parameters:
x- a float.y- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicSmoothAbsobject.
-
createSVGPathSegCurvetoCubicSmoothRel
SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2) createSVGPathSegCurvetoCubicSmoothRel.
- Parameters:
x- a float.y- a float.x2- a float.y2- a float.- Returns:
- a
SVGPathSegCurvetoCubicSmoothRelobject.
-
createSVGPathSegCurvetoQuadraticSmoothAbs
createSVGPathSegCurvetoQuadraticSmoothAbs.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticSmoothAbsobject.
-
createSVGPathSegCurvetoQuadraticSmoothRel
createSVGPathSegCurvetoQuadraticSmoothRel.
- Parameters:
x- a float.y- a float.- Returns:
- a
SVGPathSegCurvetoQuadraticSmoothRelobject.
-