Package org.loboevolution.svg.dom
Class SVGLineElementImpl
- All Implemented Interfaces:
EventTarget
,HTMLElement
,Element
,InnerHTML
,ModelNode
,Node
,NonDocumentTypeChildNode
,ParentNode
,Drawable
,SVGElement
,SVGExternalResourcesRequired
,SVGLangSpace
,SVGLineElement
,SVGLocatable
,SVGStylable
,SVGTests
,SVGTransformable
SVGLineElementImpl 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.void
draw
(Graphics2D graphics) draw.getBBox()
getBBox.getX1()
getX1.getX2()
getX2.getY1()
getY1.getY2()
getY2.Methods inherited from class org.loboevolution.svg.dom.SVGGraphic
animate, drawable, getXMLlang, getXMLspace, setXMLlang, setXMLspace
Methods inherited from class org.loboevolution.svg.dom.SVGTransformableImpl
getTransform
Methods inherited from class org.loboevolution.svg.dom.SVGLocatableImpl
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElement
Methods 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, getVisibility
Methods inherited from class org.loboevolution.svg.dom.SVGElementImpl
getExternalResourcesRequired, getOwnerSVGElement, getRequiredExtensions, getRequiredFeatures, getSystemLanguage, getViewportElement, hasExtension, setOwnerSVGElement
Methods 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, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warn
Methods 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, visit
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
Methods inherited from interface org.loboevolution.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, setId, setOwnerSVGElement
Methods inherited from interface org.loboevolution.svg.SVGExternalResourcesRequired
getExternalResourcesRequired
Methods inherited from interface org.loboevolution.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspace
Methods inherited from interface org.loboevolution.svg.SVGLocatable
getCTM, getFarthestViewportElement, getNearestViewportElement, getScreenCTM, getTransformToElement
Methods inherited from interface org.loboevolution.svg.SVGStylable
getStyle
Methods inherited from interface org.loboevolution.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
Methods inherited from interface org.loboevolution.svg.SVGTransformable
getTransform
-
Constructor Details
-
SVGLineElementImpl
Constructor for SVGLineElementImpl.
- Parameters:
element
- aHTMLElement
object.
-
-
Method Details
-
getBBox
Description copied from interface:SVGLocatable
getBBox.
- Specified by:
getBBox
in interfaceSVGLocatable
- Returns:
- a
SVGRect
object.
-
getX1
getX1.
- Specified by:
getX1
in interfaceSVGLineElement
- Returns:
- a
SVGAnimatedLength
object.
-
getY1
getY1.
- Specified by:
getY1
in interfaceSVGLineElement
- Returns:
- a
SVGAnimatedLength
object.
-
getX2
getX2.
- Specified by:
getX2
in interfaceSVGLineElement
- Returns:
- a
SVGAnimatedLength
object.
-
getY2
getY2.
- Specified by:
getY2
in interfaceSVGLineElement
- Returns:
- a
SVGAnimatedLength
object.
-
draw
draw.
- Specified by:
draw
in interfaceDrawable
- Parameters:
graphics
- aGraphics2D
object.
-
createShape
createShape.
- Specified by:
createShape
in interfaceDrawable
- Parameters:
transform
- aAffineTransform
object.- Returns:
- a
Shape
object.
-