org.apache.fop.dom.svg
Class SVGLineElementImpl
java.lang.Object
|
+--org.apache.fop.dom.NodeImpl
|
+--org.apache.fop.dom.ElementImpl
|
+--org.apache.fop.dom.svg.SVGElementImpl
|
+--org.apache.fop.dom.svg.GraphicElement
|
+--org.apache.fop.dom.svg.SVGLineElementImpl
- public class SVGLineElementImpl
- extends GraphicElement
- implements org.w3c.dom.svg.SVGLineElement
class representing a line in an SVG Area
Field Summary |
protected org.w3c.dom.svg.SVGAnimatedLength |
x1
x-coordinate of start |
protected org.w3c.dom.svg.SVGAnimatedLength |
x2
x-coordinate of end |
protected org.w3c.dom.svg.SVGAnimatedLength |
y1
y-coordinate of start |
protected org.w3c.dom.svg.SVGAnimatedLength |
y2
y-coordinate of end |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE,
CDATA_SECTION_NODE,
COMMENT_NODE,
DOCUMENT_FRAGMENT_NODE,
DOCUMENT_NODE,
DOCUMENT_TYPE_NODE,
ELEMENT_NODE,
ENTITY_NODE,
ENTITY_REFERENCE_NODE,
NOTATION_NODE,
PROCESSING_INSTRUCTION_NODE,
TEXT_NODE |
Method Summary |
org.w3c.dom.svg.SVGRect |
getBBox()
|
org.w3c.dom.svg.SVGAnimatedLength |
getX1()
|
org.w3c.dom.svg.SVGAnimatedLength |
getX2()
|
org.w3c.dom.svg.SVGAnimatedLength |
getY1()
|
org.w3c.dom.svg.SVGAnimatedLength |
getY2()
|
void |
setX1(org.w3c.dom.svg.SVGAnimatedLength x1)
|
void |
setX2(org.w3c.dom.svg.SVGAnimatedLength x2)
|
void |
setY1(org.w3c.dom.svg.SVGAnimatedLength y1)
|
void |
setY2(org.w3c.dom.svg.SVGAnimatedLength y2)
|
Methods inherited from class org.apache.fop.dom.svg.GraphicElement |
addEventListener,
dispatchEvent,
getChildrenBBox,
getCTM,
getFarthestViewportElement,
getNearestViewportElement,
getRequiredExtensions,
getRequiredFeatures,
getScreenCTM,
getSystemLanguage,
getTransform,
getTransformToElement,
getXMLlang,
getXMLspace,
hasExtension,
removeEventListener,
setRequiredExtensions,
setRequiredFeatures,
setSystemLanguage,
setTransform,
setXMLlang,
setXMLspace |
Methods inherited from class org.apache.fop.dom.svg.SVGElementImpl |
appendChild,
getAnimatedPresentationAttribute,
getClassName,
getExternalResourcesRequired,
getId,
getNamespaceURI,
getOwnerSVGElement,
getPresentationAttribute,
getStyle,
getViewportElement,
setClassName,
setExternalResourcesRequired,
setId,
setOwnerSVG,
setStyle |
Methods inherited from class org.apache.fop.dom.ElementImpl |
getAttribute,
getAttributeNode,
getAttributeNodeNS,
getAttributeNS,
getElementsByTagName,
getElementsByTagNameNS,
hasAttribute,
hasAttributeNS,
hasAttributes,
removeAttribute,
removeAttributeNode,
removeAttributeNS,
replaceChild,
setAttribute,
setAttributeNode,
setAttributeNodeNS,
setAttributeNS |
Methods inherited from class org.apache.fop.dom.NodeImpl |
cloneNode,
getAttributes,
getChildNodes,
getFirstChild,
getLastChild,
getLocalName,
getNextSibling,
getNodeName,
getNodeType,
getNodeValue,
getOwnerDocument,
getParentNode,
getPrefix,
getPreviousSibling,
getTagName,
hasChildNodes,
insertBefore,
isSupported,
normalize,
removeChild,
setNodeValue,
setPrefix,
supports |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
x1
protected org.w3c.dom.svg.SVGAnimatedLength x1
- x-coordinate of start
y1
protected org.w3c.dom.svg.SVGAnimatedLength y1
- y-coordinate of start
x2
protected org.w3c.dom.svg.SVGAnimatedLength x2
- x-coordinate of end
y2
protected org.w3c.dom.svg.SVGAnimatedLength y2
- y-coordinate of end
SVGLineElementImpl
public SVGLineElementImpl()
- construct a line graphic
- Parameters:
x1
- x-coordinate of starty1
- y-coordinate of startx2
- x-coordinate of endy2
- y-coordinate of end
getBBox
public org.w3c.dom.svg.SVGRect getBBox()
- Overrides:
- getBBox in class GraphicElement
getX1
public org.w3c.dom.svg.SVGAnimatedLength getX1()
- Specified by:
- getX1 in interface org.w3c.dom.svg.SVGLineElement
setX1
public void setX1(org.w3c.dom.svg.SVGAnimatedLength x1)
getY1
public org.w3c.dom.svg.SVGAnimatedLength getY1()
- Specified by:
- getY1 in interface org.w3c.dom.svg.SVGLineElement
setY1
public void setY1(org.w3c.dom.svg.SVGAnimatedLength y1)
getX2
public org.w3c.dom.svg.SVGAnimatedLength getX2()
- Specified by:
- getX2 in interface org.w3c.dom.svg.SVGLineElement
setX2
public void setX2(org.w3c.dom.svg.SVGAnimatedLength x2)
getY2
public org.w3c.dom.svg.SVGAnimatedLength getY2()
- Specified by:
- getY2 in interface org.w3c.dom.svg.SVGLineElement
setY2
public void setY2(org.w3c.dom.svg.SVGAnimatedLength y2)
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.