@DOMObjectAttribute @DOMNameAttribute(name="SVGPathSegLinetoHorizontalRel") public class SVGPathSegLinetoHorizontalRel extends SVGPathSeg
The SVGPathSegLinetoHorizontalRel interface corresponds to a "relative horizontal lineto" (h) path data command.
SVGPathSeg
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 |
---|
SVGPathSegLinetoHorizontalRel(float x) |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Creates a new object that is a copy of the current instance.
|
float |
getX()
The relative X 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.
|
SVGPathSegLinetoHorizontalRel |
toLinetoHorizontalRel() |
getPathSegType, getPathSegTypeAsLetter, toArcAbs, toArcRel, toClosePath, toCurvetoCubicAbs, toCurvetoCubicRel, toCurvetoCubicSmoothAbs, toCurvetoCubicSmoothRel, toCurvetoQuadraticAbs, toCurvetoQuadraticRel, toCurvetoQuadraticSmoothAbs, toCurvetoQuadraticSmoothRel, toLinetoAbs, toLinetoHorizontalAbs, toLinetoRel, toLinetoVerticalAbs, toLinetoVerticalRel, toMovetoAbs, toMovetoRel
asReadOnly, dispose, getKey, isDetached, isObserverSuppressed, isReadOnly, notifyPropertyChanged, setDetached, setObserverSuppressed, toString
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
@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 coordinatepublic Object deepClone()
Creates a new object that is a copy of the current instance.
deepClone
in class SVGValueType
public SVGPathSegLinetoHorizontalRel toLinetoHorizontalRel()
toLinetoHorizontalRel
in class SVGPathSeg