Package org.loboevolution.svg.dom
Class SVGPathSegCurvetoCubicRelImpl
java.lang.Object
org.loboevolution.svg.dom.SVGPathSegCurvetoCubicRelImpl
- All Implemented Interfaces:
SVGPathSeg,SVGPathSegCurvetoCubicRel
SVGPathSegCurvetoCubicRelImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.svg.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 -
Constructor Summary
ConstructorsConstructorDescriptionSVGPathSegCurvetoCubicRelImpl(float x, float y, float x1, float y1, float x2, float y2) Constructor for SVGPathSegCurvetoCubicRelImpl. -
Method Summary
Modifier and TypeMethodDescriptionshortgetPathSegType.getPathSegTypeAsLetter.floatgetX()getX.floatgetX1()getX1.floatgetX2()getX2.floatgetY()getY.floatgetY1()getY1.floatgetY2()getY2.voidsetX(float x) setX.voidsetX1(float x1) setX1.voidsetX2(float x2) setX2.voidsetY(float y) setY.voidsetY1(float y1) setY1.voidsetY2(float y2) setY2.
-
Constructor Details
-
SVGPathSegCurvetoCubicRelImpl
public SVGPathSegCurvetoCubicRelImpl(float x, float y, float x1, float y1, float x2, float y2) Constructor for SVGPathSegCurvetoCubicRelImpl.
- Parameters:
x- a float.y- a float.x1- a float.y1- a float.x2- a float.y2- a float.
-
-
Method Details
-
getPathSegType
public short getPathSegType()getPathSegType.
- Specified by:
getPathSegTypein interfaceSVGPathSeg- Returns:
- a short.
-
getPathSegTypeAsLetter
getPathSegTypeAsLetter.
- Specified by:
getPathSegTypeAsLetterin interfaceSVGPathSeg- Returns:
- a
Stringobject.
-
getX
public float getX()getX.
- Specified by:
getXin interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setX
public void setX(float x) setX.
- Specified by:
setXin interfaceSVGPathSegCurvetoCubicRel- Parameters:
x- a float.
-
getY
public float getY()getY.
- Specified by:
getYin interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setY
public void setY(float y) setY.
- Specified by:
setYin interfaceSVGPathSegCurvetoCubicRel- Parameters:
y- a float.
-
getX1
public float getX1()getX1.
- Specified by:
getX1in interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setX1
public void setX1(float x1) setX1.
- Specified by:
setX1in interfaceSVGPathSegCurvetoCubicRel- Parameters:
x1- a float.
-
getY1
public float getY1()getY1.
- Specified by:
getY1in interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setY1
public void setY1(float y1) setY1.
- Specified by:
setY1in interfaceSVGPathSegCurvetoCubicRel- Parameters:
y1- a float.
-
getX2
public float getX2()getX2.
- Specified by:
getX2in interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setX2
public void setX2(float x2) setX2.
- Specified by:
setX2in interfaceSVGPathSegCurvetoCubicRel- Parameters:
x2- a float.
-
getY2
public float getY2()getY2.
- Specified by:
getY2in interfaceSVGPathSegCurvetoCubicRel- Returns:
- a float.
-
setY2
public void setY2(float y2) setY2.
- Specified by:
setY2in interfaceSVGPathSegCurvetoCubicRel- Parameters:
y2- a float.
-