|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaspose.pdf.Shape
aspose.pdf.Curve
public class Curve
Represents a curve Shape
in a Graph.
Typical usages are the following:
Constructor Summary | |
---|---|
Curve()
Constructor - initializes a new instance of the Curve class. |
|
Curve(float[] positionArr)
Constructor - initializes a new instance of the Curve class. |
|
Curve(Graph graph)
Constructor - initializes a new instance of the Curve class. |
|
Curve(Graph graph,
float[] positionArr)
Constructor - initializes a new instance of the Curve class. |
Method Summary | |
---|---|
float |
getPosition1X()
Gets a float value that indicates the x-coordinate of the control point 1 of the curve. |
float |
getPosition1Y()
Gets or a float value that indicates the y-coordinate of the control point 1 of the curve. |
float |
getPosition2X()
Gets a float value that indicates the x-coordinate of the control point 2 of the curve. |
float |
getPosition2Y()
Gets a float value that indicates the y-coordinate of the control point 2 of the curve. |
float |
getPosition3X()
Gets a float value that indicates the x-coordinate of the control point 3 of the curve. |
float |
getPosition3Y()
Gets a float value that indicates the y-coordinate of the control point 3 of the curve. |
float |
getPosition4X()
Gets a float value that indicates the x-coordinate of the control point 4 of the curve. |
float |
getPosition4Y()
Gets a float value that indicates the y-coordinate of the control point 4 of the curve. |
void |
setPosition1X(float value)
Sets a float value that indicates the x-coordinate of the control point 1 of the curve. |
void |
setPosition1Y(float value)
Sets or a float value that indicates the y-coordinate of the control point 1 of the curve. |
void |
setPosition2X(float value)
Sets a float value that indicates the x-coordinate of the control point 2 of the curve. |
void |
setPosition2Y(float value)
Sets a float value that indicates the y-coordinate of the control point 2 of the curve. |
void |
setPosition3X(float value)
Sets a float value that indicates the x-coordinate of the control point 3 of the curve. |
void |
setPosition3Y(float value)
Sets a float value that indicates the y-coordinate of the control point 3 of the curve. |
void |
setPosition4X(float value)
Sets a float value that indicates the x-coordinate of the control point 4 of the curve. |
void |
setPosition4Y(float value)
Sets a float value that indicates the y-coordinate of the control point 4 of the curve. |
Methods inherited from class aspose.pdf.Shape |
---|
getGraphInfo, getID, setGraphInfo, setID |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Curve()
Curve
class.
public Curve(float[] positionArr)
Curve
class.
positionArr
- The position array of the control points of the curve.
There should be four control points,so the length of the array should be eight.public Curve(Graph graph)
Curve
class.
Remarks: This constructor can inherit common property values from
the specified Graph
object.
graph
- The graph object.public Curve(Graph graph, float[] positionArr)
Curve
class.
Remarks:There should be four control points, so the length of the array should be eight. This constructor can inherit common property values from the specified object.
graph
- The Graph object.positionArr
- The position array of the control points of the curve.Method Detail |
---|
public float getPosition1X()
public void setPosition1X(float value)
value
- A float value.public float getPosition1Y()
public void setPosition1Y(float value)
value
- A float value.public float getPosition2X()
public void setPosition2X(float value)
value
- A float value.public float getPosition2Y()
public void setPosition2Y(float value)
value
- A float value.public float getPosition3X()
public void setPosition3X(float value)
value
- A float value.public float getPosition3Y()
public void setPosition3Y(float value)
value
- A float value.public float getPosition4X()
public void setPosition4X(float value)
value
- A float value.public float getPosition4Y()
public void setPosition4Y(float value)
value
- A float value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |