Package com.winnovative_software
Class EllipseArcElement
java.lang.Object
com.winnovative_software.PageElement
com.winnovative_software.PageGraphicElement
com.winnovative_software.EllipseArcElement
Represents an ellipse arc element
-
Constructor Summary
ConstructorsConstructorDescriptionEllipseArcElement
(float x, float y, float width, float height, float startAngle, float sweepAngle) Constructs an ellipse arc element -
Method Summary
Modifier and TypeMethodDescriptionfloat
height()
Gets the height of the rectangle enclosing the ellipsevoid
setHeight
(float height) Sets the height of the rectangle enclosing the ellipsevoid
setStartAngle
(float startAngle) Sets the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectanglevoid
setSweepAngle
(float sweepAngle) Sets the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slicevoid
setWidth
(float width) Sets the width of the rectangle enclosing the ellipsevoid
setX
(float x) Sets the top left corner X coordinate of the rectangle enclosing the ellipsevoid
setY
(float y) Sets the top left corner Y coordinate of the rectangle enclosing the ellipsefloat
Gets the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectanglefloat
Gets the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slicefloat
width()
Gets the width of the rectangle enclosing the ellipsefloat
x()
Gets the top left corner X coordinate of the rectangle enclosing the ellipsefloat
y()
Gets the top left corner Y coordinate of the rectangle enclosing the ellipseMethods inherited from class com.winnovative_software.PageGraphicElement
backColor, blending, clipRectangle, foreColor, gradient, lineStyle, opacity, rotate, scale, setBackColor, setBlending, setClipRectangle, setForeColor, setGradient, setLineStyle, setOpacity, skew, translate
-
Constructor Details
-
EllipseArcElement
public EllipseArcElement(float x, float y, float width, float height, float startAngle, float sweepAngle) Constructs an ellipse arc element- Parameters:
x
- the X coordinate of the rectangle enclosing the ellipsey
- the Y coordinate of the rectangle enclosing the ellipsewidth
- the width of the rectangle enclosing the ellipseheight
- the height of the rectangle enclosing the ellipsestartAngle
- the start angle in degrees of the ellipse arc measured counter-clockwise from the X axis centered in the enclosing rectanglesweepAngle
- the angle in degrees of the ellipse arc measured counter-clockwise from the start angle of the slice
-
-
Method Details
-
x
public float x()Gets the top left corner X coordinate of the rectangle enclosing the ellipse- Returns:
- the top left corner X coordinate of the rectangle enclosing the ellipse
-
setX
public void setX(float x) Sets the top left corner X coordinate of the rectangle enclosing the ellipse- Parameters:
x
- the top left corner X coordinate of the rectangle enclosing the ellipse
-
y
public float y()Gets the top left corner Y coordinate of the rectangle enclosing the ellipse- Returns:
- the top left corner Y coordinate of the rectangle enclosing the ellipse
-
setY
public void setY(float y) Sets the top left corner Y coordinate of the rectangle enclosing the ellipse- Parameters:
y
- the top left corner Y coordinate of the rectangle enclosing the ellipse
-
width
public float width()Gets the width of the rectangle enclosing the ellipse- Returns:
- the width of the rectangle enclosing the ellipse
-
setWidth
public void setWidth(float width) Sets the width of the rectangle enclosing the ellipse- Parameters:
width
- the width of the rectangle enclosing the ellipse
-
height
public float height()Gets the height of the rectangle enclosing the ellipse- Returns:
- the height of the rectangle enclosing the ellipse
-
setHeight
public void setHeight(float height) Sets the height of the rectangle enclosing the ellipse- Parameters:
height
- the height of the rectangle enclosing the ellipse
-
startAngle
public float startAngle()Gets the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectangle- Returns:
- the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectangle
-
setStartAngle
public void setStartAngle(float startAngle) Sets the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectangle- Parameters:
startAngle
- the start angle in degrees of the ellipse slice measured counter-clockwise from the X axis centered in the enclosing rectangle
-
sweepAngle
public float sweepAngle()Gets the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slice- Returns:
- the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slice
-
setSweepAngle
public void setSweepAngle(float sweepAngle) Sets the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slice- Parameters:
sweepAngle
- the angle in degrees of the ellipse slice measured counter-clockwise from the start angle of the slice
-