|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Shape
aspose.pdf.UnclosedShape
aspose.pdf.Arc
public class Arc
Represents an arc Shape
in a Graph.
Typical usages are the following:
Constructor Summary | |
---|---|
Arc()
Constructor - initializes a new instance of the Arc class. |
|
Arc(float xPosition,
float yPosition,
float radius,
float alpha,
float beta)
Constructor - initializes a new instance of the Arc class. |
|
Arc(Graph graph)
Constructor - initializes a new instance of the Arc class. |
|
Arc(Graph graph,
float xPosition,
float yPosition,
float radius,
float alpha,
float beta)
Constructor - initializes a new instance of the Arc class. |
Method Summary | |
---|---|
protected java.lang.Object |
clone()
|
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[] |
getEndPosition()
Return the last point of unclosed shape. |
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. |
float[] |
getStartPosition()
Return the first point of unclosed shape. |
void |
setAlpha(float value)
Sets a float value that indicates the beginning angle degree of the arc. |
void |
setBeta(float value)
Sets a float value that indicates the ending angle degree of the arc. |
void |
setPosX(float value)
Sets a float value that indicates the x-coordinate of the center of the arc. |
void |
setPosY(float value)
Sets a float value that indicates the y-coordinate of the center of the arc. |
void |
setRadius(float value)
Sets a float value that indicates the radius of the arc. |
Methods inherited from class aspose.pdf.Shape |
---|
getGraphInfo, getID, setGraphInfo, setID |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Arc()
Arc
class.
public Arc(float xPosition, float yPosition, float radius, float alpha, float beta)
Arc
class.
xPosition
- The x-coordinate of the center point of the arc.yPosition
- The y-coordinate of the center point of the arc.radius
- The radius value of the arc.alpha
- The beginning angle value of the arc.beta
- The end angle value of the arc.public Arc(Graph graph)
Arc
class.
Remarks: This constructor can inherit common property values from the specified
Graph
.
graph
- The specified Graph
object.public Arc(Graph graph, float xPosition, float yPosition, float radius, float alpha, float beta)
Arc
class.
Remarks: This constructor can inherit common property values from the specified
Graph
object.
graph
- The specified Graph
object.xPosition
- The x-coordinate of the center point of the arc.yPosition
- The y-coordinate of the center point of the arc.radius
- The radius value of the arc.alpha
- The beginning angle value of the arc.beta
- The end angle value of the arc.Method Detail |
---|
public float getPosX()
public void setPosX(float value)
value
- A float value.public float getPosY()
public void setPosY(float value)
value
- A float value.public float getRadius()
public void setRadius(float value)
value
- A float value.public float getAlpha()
public void setAlpha(float value)
value
- A float value.public float getBeta()
public void setBeta(float value)
value
- A float value.public float[] getStartPosition()
UnclosedShape
getStartPosition
in class UnclosedShape
public float[] getEndPosition()
UnclosedShape
getEndPosition
in class UnclosedShape
protected java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |