@DOMObjectAttribute @DOMNameAttribute(name="SVGPathSegMovetoAbs") public class SVGPathSegMovetoAbs extends SVGPathSeg
The SVGPathSegMovetoAbs interface corresponds to an "absolute moveto" (M) 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
flags
PropertyChanged
Constructor and Description |
---|
SVGPathSegMovetoAbs(float x,
float y) |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Creates a new object that is a copy of the current instance.
|
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 |
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.
|
SVGPathSegMovetoAbs |
toMovetoAbs() |
getPathSegType, getPathSegTypeAsLetter, toArcAbs, toArcRel, toClosePath, toCurvetoCubicAbs, toCurvetoCubicRel, toCurvetoCubicSmoothAbs, toCurvetoCubicSmoothRel, toCurvetoQuadraticAbs, toCurvetoQuadraticRel, toCurvetoQuadraticSmoothAbs, toCurvetoQuadraticSmoothRel, toLinetoAbs, toLinetoHorizontalAbs, toLinetoHorizontalRel, toLinetoRel, toLinetoVerticalAbs, toLinetoVerticalRel, toMovetoRel
asReadOnly, dispose, getKey, isDetached, isObserverSuppressed, isReadOnly, notifyPropertyChanged, setDetached, setObserverSuppressed, toString
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
@DOMNameAttribute(name="x") public float getX()
The absolute 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 absolute X coordinate@DOMNameAttribute(name="x") public void setX(float value)
The absolute 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 absolute X coordinate@DOMNameAttribute(name="y") public float getY()
The absolute 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 absolute Y coordinate@DOMNameAttribute(name="y") public void setY(float value)
The absolute 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 absolute Y coordinatepublic Object deepClone()
Creates a new object that is a copy of the current instance.
deepClone
in class SVGValueType
public SVGPathSegMovetoAbs toMovetoAbs()
toMovetoAbs
in class SVGPathSeg