org.vectomatic.dom.svg
Class OMSVGPathSegArcRel

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

public class OMSVGPathSegArcRel
extends OMSVGPathSeg

The OMSVGPathSegArcRel interface corresponds to a "relative arcto" (a) 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 OMSVGPathSegArcRel()
           
 
Method Summary
 float getAngle()
          The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.
 boolean getLargeArcFlag()
          The value of the large-arc-flag parameter.
 float getR1()
          The x-axis radius for the ellipse (i.e., r1).
 float getR2()
          The y-axis radius for the ellipse (i.e., r2).
 boolean getSweepFlag()
          The value of the sweep-flag parameter.
 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 setAngle(float value)
          The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.
 void setLargeArcFlag(boolean value)
          The value of the large-arc-flag parameter.
 void setR1(float value)
          The x-axis radius for the ellipse (i.e., r1).
 void setR2(float value)
          The y-axis radius for the ellipse (i.e., r2).
 void setSweepFlag(boolean value)
          The value of the sweep-flag parameter.
 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

OMSVGPathSegArcRel

protected OMSVGPathSegArcRel()
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

getR1

public final float getR1()
The x-axis radius for the ellipse (i.e., r1).


setR1

public final void setR1(float value)
                 throws com.google.gwt.core.client.JavaScriptException
The x-axis radius for the ellipse (i.e., r1).

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

getR2

public final float getR2()
The y-axis radius for the ellipse (i.e., r2).


setR2

public final void setR2(float value)
                 throws com.google.gwt.core.client.JavaScriptException
The y-axis radius for the ellipse (i.e., r2).

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

getAngle

public final float getAngle()
The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.


setAngle

public final void setAngle(float value)
                    throws com.google.gwt.core.client.JavaScriptException
The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.

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

getLargeArcFlag

public final boolean getLargeArcFlag()
The value of the large-arc-flag parameter.


setLargeArcFlag

public final void setLargeArcFlag(boolean value)
                           throws com.google.gwt.core.client.JavaScriptException
The value of the large-arc-flag parameter.

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

getSweepFlag

public final boolean getSweepFlag()
The value of the sweep-flag parameter.


setSweepFlag

public final void setSweepFlag(boolean value)
                        throws com.google.gwt.core.client.JavaScriptException
The value of the sweep-flag parameter.

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.