com.aspose.pdf.elements
Class Arc

java.lang.Object
  extended by com.aspose.pdf.elements.Shape
      extended by com.aspose.pdf.elements.Arc

public class Arc
extends Shape

Represents an arc Shape in a Graph.


Constructor Summary
Arc()
          Initialize a new instance of the Arc class.
Arc(float posX, float posY, float radius, float alpha, float beta)
          Initialize a new instance of the Arc class.
 
Method Summary
 float getAlpha()
          Gets a float value that indicates the beginning angle degree of the arc.
 float getBeta()
          Gets a float value that indicates the ending angle degree of the arc.
 float getPosX()
          Gets a float value that indicates the x-coordinate of the center of the arc.
 float getPosY()
          Gets a float value that indicates the y-coordinate of the center of the arc.
 float getRadius()
          Gets a float value that indicates the radius of the arc.
 Arc setAlpha(float alpha)
          Sets a float value that indicates the beginning angle degree of the arc.
 Arc setBeta(float beta)
          Sets a float value that indicates the ending angle degree of the arc.
 Arc setPosX(float posX)
          Sets a float value that indicates the x-coordinate of the center of the arc.
 Arc setPosY(float posY)
          Sets a float value that indicates the y-coordinate of the center of the arc.
 Arc setRadius(float radius)
          Sets a float value that indicates the radius of the arc.
 
Methods inherited from class com.aspose.pdf.elements.Shape
getGraphInfo, getID, setGraphInfo, setID
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arc

public Arc()
Initialize a new instance of the Arc class.


Arc

public Arc(float posX,
           float posY,
           float radius,
           float alpha,
           float beta)
Initialize a new instance of the Arc class.

Method Detail

getAlpha

public float getAlpha()
Gets a float value that indicates the beginning angle degree of the arc.

Returns:
Returns the alpha.

setAlpha

public Arc setAlpha(float alpha)
Sets a float value that indicates the beginning angle degree of the arc.

Parameters:
alpha - The alpha to set.

getBeta

public float getBeta()
Gets a float value that indicates the ending angle degree of the arc.

Returns:
Returns the beta.

setBeta

public Arc setBeta(float beta)
Sets a float value that indicates the ending angle degree of the arc.

Parameters:
beta - The beta to set.

getPosX

public float getPosX()
Gets a float value that indicates the x-coordinate of the center of the arc.

Returns:
Returns the posX.

setPosX

public Arc setPosX(float posX)
Sets a float value that indicates the x-coordinate of the center of the arc.

Parameters:
posX - The posX to set.

getPosY

public float getPosY()
Gets a float value that indicates the y-coordinate of the center of the arc.

Returns:
Returns the posY.

setPosY

public Arc setPosY(float posY)
Sets a float value that indicates the y-coordinate of the center of the arc.

Parameters:
posY - The posY to set.

getRadius

public float getRadius()
Gets a float value that indicates the radius of the arc.

Returns:
Returns the radius.

setRadius

public Arc setRadius(float radius)
Sets a float value that indicates the radius of the arc.

Parameters:
radius - The radius to set.