Class SVGPathSegArcAbsImpl
java.lang.Object
org.loboevolution.html.dom.svgimpl.SVGPathSegArcAbsImpl
- All Implemented Interfaces:
SVGPathSeg
,SVGPathSegArcAbs
SVGPathSegArcAbsImpl 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
ConstructorDescriptionSVGPathSegArcAbsImpl
(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) Constructor for SVGPathSegArcAbsImpl. -
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
-
SVGPathSegArcAbsImpl
public SVGPathSegArcAbsImpl(float x, float y, float r1, float r2, float angle, boolean largeArcFlag, boolean sweepFlag) Constructor for SVGPathSegArcAbsImpl.
- 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 interfaceSVGPathSegArcAbs
- Returns:
- a float.
-
setX
public void setX(float x) setX.
- Specified by:
setX
in interfaceSVGPathSegArcAbs
- Parameters:
x
- a float.
-
getY
public float getY()getY.
- Specified by:
getY
in interfaceSVGPathSegArcAbs
- Returns:
- a float.
-
setY
public void setY(float y) setY.
- Specified by:
setY
in interfaceSVGPathSegArcAbs
- Parameters:
y
- a float.
-
getR1
public float getR1()getR1.
- Specified by:
getR1
in interfaceSVGPathSegArcAbs
- Returns:
- a float.
-
setR1
public void setR1(float r1) setR1.
- Specified by:
setR1
in interfaceSVGPathSegArcAbs
- Parameters:
r1
- a float.
-
getR2
public float getR2()getR2.
- Specified by:
getR2
in interfaceSVGPathSegArcAbs
- Returns:
- a float.
-
setR2
public void setR2(float r2) setR2.
- Specified by:
setR2
in interfaceSVGPathSegArcAbs
- Parameters:
r2
- a float.
-
getAngle
public float getAngle()getAngle.
- Specified by:
getAngle
in interfaceSVGPathSegArcAbs
- Returns:
- a float.
-
setAngle
public void setAngle(float angle) setAngle.
- Specified by:
setAngle
in interfaceSVGPathSegArcAbs
- Parameters:
angle
- a float.
-
getLargeArcFlag
public boolean getLargeArcFlag()getLargeArcFlag.
- Specified by:
getLargeArcFlag
in interfaceSVGPathSegArcAbs
- Returns:
- a boolean.
-
setLargeArcFlag
public void setLargeArcFlag(boolean largeArcFlag) setLargeArcFlag.
- Specified by:
setLargeArcFlag
in interfaceSVGPathSegArcAbs
- Parameters:
largeArcFlag
- a boolean.
-
getSweepFlag
public boolean getSweepFlag()getSweepFlag.
- Specified by:
getSweepFlag
in interfaceSVGPathSegArcAbs
- Returns:
- a boolean.
-
setSweepFlag
public void setSweepFlag(boolean sweepFlag) setSweepFlag.
- Specified by:
setSweepFlag
in interfaceSVGPathSegArcAbs
- Parameters:
sweepFlag
- a boolean.
-