@DOMObjectAttribute @DOMNameAttribute(name="SVGPathSegArcRel") public class SVGPathSegArcRel extends SVGPathSeg
The SVGPathSegArcRel interface corresponds to a "relative arcto" (a) path data command.
SVGPathSegPATHSEG_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_UNKNOWNflagsPropertyChanged, PropertyChangedDelegate| Constructor and Description |
|---|
SVGPathSegArcRel(float x,
float y,
float r1,
float r2,
float angle,
boolean largeArcFlag,
boolean sweepFlag) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deepClone()
Creates a new object that is a copy of the current instance.
|
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.
|
SVGPathSegArcRel |
toArcRel() |
getPathSegType, getPathSegTypeAsLetter, toArcAbs, toClosePath, toCurvetoCubicAbs, toCurvetoCubicRel, toCurvetoCubicSmoothAbs, toCurvetoCubicSmoothRel, toCurvetoQuadraticAbs, toCurvetoQuadraticRel, toCurvetoQuadraticSmoothAbs, toCurvetoQuadraticSmoothRel, toLinetoAbs, toLinetoHorizontalAbs, toLinetoHorizontalRel, toLinetoRel, toLinetoVerticalAbs, toLinetoVerticalRel, toMovetoAbs, toMovetoRelasReadOnly, dispose, dispose, getKey, isDetached, isObserverSuppressed, isReadOnly, notifyPropertyChanged, setDetached, setObserverSuppressed, toStringfireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBindingpublic SVGPathSegArcRel(float x,
float y,
float r1,
float r2,
float angle,
boolean largeArcFlag,
boolean sweepFlag)
@DOMNameAttribute(name="x") public float getX()
The relative X coordinate for the end point of this path segment.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The relative X coordinate@DOMNameAttribute(name="x") public void setX(float value)
The relative X coordinate for the end point of this path segment.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The relative X coordinate@DOMNameAttribute(name="y") public float getY()
The relative Y coordinate for the end point of this path segment.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The relative Y coordinate@DOMNameAttribute(name="y") public void setY(float value)
The relative Y coordinate for the end point of this path segment.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The relative Y coordinate@DOMNameAttribute(name="r1") public float getR1()
The x-axis radius for the ellipse (i.e., r1).
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The x-axis radius@DOMNameAttribute(name="r1") public void setR1(float value)
The x-axis radius for the ellipse (i.e., r1).
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The x-axis radius@DOMNameAttribute(name="r2") public float getR2()
The y-axis radius for the ellipse (i.e., r2).
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The y-axis radius@DOMNameAttribute(name="r2") public void setR2(float value)
The y-axis radius for the ellipse (i.e., r2).
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The y-axis radius@DOMNameAttribute(name="angle") public float getAngle()
The rotation angle in degrees for the ellipse's x-axis relative to the x-axis of the user coordinate system.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The rotation angle@DOMNameAttribute(name="angle") public 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.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The rotation angle@DOMNameAttribute(name="largeArcFlag") public boolean getLargeArcFlag()
The value of the large-arc-flag parameter.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The large-arc-flag parameter@DOMNameAttribute(name="largeArcFlag") public void setLargeArcFlag(boolean value)
The value of the large-arc-flag parameter.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The large-arc-flag parameter@DOMNameAttribute(name="sweepFlag") public boolean getSweepFlag()
The value of the sweep-flag parameter.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The sweep-flag parameter.@DOMNameAttribute(name="sweepFlag") public void setSweepFlag(boolean value)
The value of the sweep-flag parameter.
DOMException - Code DOMException.NO_MODIFICATION_ALLOWED_ERR.
Raised on an attempt to change the value of a read only attribute.
Value:
The sweep-flag parameter.public java.lang.Object deepClone()
Creates a new object that is a copy of the current instance.
deepClone in class SVGValueTypepublic SVGPathSegArcRel toArcRel()
toArcRel in class SVGPathSeg