public class OMSVGPathSegArcAbs extends OMSVGPathSeg
OMSVGPathSegArcAbs
interface corresponds
to an "absolute arcto" (A) path data command.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
Modifier | Constructor and Description |
---|---|
protected |
OMSVGPathSegArcAbs() |
Modifier and Type | Method and Description |
---|---|
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 absolute X coordinate for the end point of this path segment.
|
float |
getY()
The absolute 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 absolute X coordinate for the end point of this path segment.
|
void |
setY(float value)
The absolute Y coordinate for the end point of this path segment.
|
getPathSegType, getPathSegTypeAsLetter
public final float getX()
public final void setX(float value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final float getY()
public final void setY(float value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final float getR1()
public final void setR1(float value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final float getR2()
public final void setR2(float value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final float getAngle()
public final void setAngle(float value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final boolean getLargeArcFlag()
public final void setLargeArcFlag(boolean value) throws com.google.gwt.core.client.JavaScriptException
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.com.google.gwt.core.client.JavaScriptException
public final boolean getSweepFlag()
public final void setSweepFlag(boolean value) throws com.google.gwt.core.client.JavaScriptException
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 © 2018. All Rights Reserved.