org.vectomatic.dom.svg
Class OMSVGPathSegLinetoRel

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by org.vectomatic.dom.svg.OMSVGPathSeg
          extended by org.vectomatic.dom.svg.OMSVGPathSegLinetoRel

public class OMSVGPathSegLinetoRel
extends OMSVGPathSeg

The OMSVGPathSegLinetoRel interface corresponds to a "relative lineto" (l) path data command.


Field Summary
 
Fields inherited from class org.vectomatic.dom.svg.OMSVGPathSeg
PATHSEG_ARC_ABS, PATHSEG_ARC_REL, PATHSEG_CLOSEPATH, PATHSEG_CURVETO_CUBIC_ABS, PATHSEG_CURVETO_CUBIC_REL, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS, PATHSEG_CURVETO_CUBIC_SMOOTH_REL, PATHSEG_CURVETO_QUADRATIC_ABS, PATHSEG_CURVETO_QUADRATIC_REL, PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS, PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL, PATHSEG_LINETO_ABS, PATHSEG_LINETO_HORIZONTAL_ABS, PATHSEG_LINETO_HORIZONTAL_REL, PATHSEG_LINETO_REL, PATHSEG_LINETO_VERTICAL_ABS, PATHSEG_LINETO_VERTICAL_REL, PATHSEG_MOVETO_ABS, PATHSEG_MOVETO_REL, PATHSEG_UNKNOWN
 
Constructor Summary
protected OMSVGPathSegLinetoRel()
           
 
Method Summary
 float getX()
          The relative X coordinate for the end point of this path segment.
 float getY()
          The relative Y coordinate for the end point of this path segment.
 void setX(float value)
          The relative X coordinate for the end point of this path segment.
 void setY(float value)
          The relative Y coordinate for the end point of this path segment.
 
Methods inherited from class org.vectomatic.dom.svg.OMSVGPathSeg
getPathSegType, getPathSegTypeAsLetter
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OMSVGPathSegLinetoRel

protected OMSVGPathSegLinetoRel()
Method Detail

getX

public final float getX()
The relative X coordinate for the end point of this path segment.


setX

public final void setX(float value)
                throws com.google.gwt.core.client.JavaScriptException
The relative X coordinate for the end point of this path segment.

Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt to change the value of a read only attribute.
com.google.gwt.core.client.JavaScriptException

getY

public final float getY()
The relative Y coordinate for the end point of this path segment.


setY

public final void setY(float value)
                throws com.google.gwt.core.client.JavaScriptException
The relative Y coordinate for the end point of this path segment.

Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt to change the value of a read only attribute.
com.google.gwt.core.client.JavaScriptException


Copyright © 2012. All Rights Reserved.