Class SVGPathSegArcRelImpl
java.lang.Object
org.loboevolution.html.dom.svgimpl.SVGPathSegArcRelImpl
- All Implemented Interfaces:
SVGPathSeg
,SVGPathSegArcRel
SVGPathSegArcRelImpl class.
-
Field Summary
Fields inherited from interface org.loboevolution.html.dom.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
ConstructorDescriptionSVGPathSegArcRelImpl
(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) Constructor for SVGPathSegArcRelImpl. -
Method Summary
Modifier and TypeMethodDescriptionfloat
getAngle()
getAngle.boolean
getLargeArcFlag.short
getPathSegType.getPathSegTypeAsLetter.float
getR1()
getR1.float
getR2()
getR2.boolean
getSweepFlag.float
getX()
getX.float
getY()
getY.void
setAngle
(float angle) setAngle.void
setLargeArcFlag
(boolean largeArcFlag) setLargeArcFlag.void
setR1
(float r1) setR1.void
setR2
(float r2) setR2.void
setSweepFlag
(boolean sweepFlag) setSweepFlag.void
setX
(float x) setX.void
setY
(float y) setY.
-
Constructor Details
-
SVGPathSegArcRelImpl
public SVGPathSegArcRelImpl(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) Constructor for SVGPathSegArcRelImpl.
- Parameters:
x
- a float.y
- a float.r1
- a float.r2
- a float.angle
- a float.largeArcFlag
- a boolean.sweepFlag
- a boolean.
-
-
Method Details
-
getPathSegType
public short getPathSegType()getPathSegType.
- Specified by:
getPathSegType
in interfaceSVGPathSeg
- Returns:
- a short.
-
getPathSegTypeAsLetter
getPathSegTypeAsLetter.
- Specified by:
getPathSegTypeAsLetter
in interfaceSVGPathSeg
- Returns:
- a
String
object.
-
getX
public float getX()getX.
- Specified by:
getX
in interfaceSVGPathSegArcRel
- Returns:
- a float.
-
setX
public void setX(float x) setX.
- Specified by:
setX
in interfaceSVGPathSegArcRel
- Parameters:
x
- a float.
-
getY
public float getY()getY.
- Specified by:
getY
in interfaceSVGPathSegArcRel
- Returns:
- a float.
-
setY
public void setY(float y) setY.
- Specified by:
setY
in interfaceSVGPathSegArcRel
- Parameters:
y
- a float.
-
getR1
public float getR1()getR1.
- Specified by:
getR1
in interfaceSVGPathSegArcRel
- Returns:
- a float.
-
setR1
public void setR1(float r1) setR1.
- Specified by:
setR1
in interfaceSVGPathSegArcRel
- Parameters:
r1
- a float.
-
getR2
public float getR2()getR2.
- Specified by:
getR2
in interfaceSVGPathSegArcRel
- Returns:
- a float.
-
setR2
public void setR2(float r2) setR2.
- Specified by:
setR2
in interfaceSVGPathSegArcRel
- Parameters:
r2
- a float.
-
getAngle
public float getAngle()getAngle.
- Specified by:
getAngle
in interfaceSVGPathSegArcRel
- Returns:
- a float.
-
setAngle
public void setAngle(float angle) setAngle.
- Specified by:
setAngle
in interfaceSVGPathSegArcRel
- Parameters:
angle
- a float.
-
getLargeArcFlag
public boolean getLargeArcFlag()getLargeArcFlag.
- Specified by:
getLargeArcFlag
in interfaceSVGPathSegArcRel
- Returns:
- a boolean.
-
setLargeArcFlag
public void setLargeArcFlag(boolean largeArcFlag) setLargeArcFlag.
- Specified by:
setLargeArcFlag
in interfaceSVGPathSegArcRel
- Parameters:
largeArcFlag
- a boolean.
-
getSweepFlag
public boolean getSweepFlag()getSweepFlag.
- Specified by:
getSweepFlag
in interfaceSVGPathSegArcRel
- Returns:
- a boolean.
-
setSweepFlag
public void setSweepFlag(boolean sweepFlag) setSweepFlag.
- Specified by:
setSweepFlag
in interfaceSVGPathSegArcRel
- Parameters:
sweepFlag
- a boolean.
-