com.aspose.pdf.elements
Class Curve

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

public class Curve
extends Shape

Represents a curve Shape in a Graph.


Constructor Summary
Curve()
          Initialize a new instance of the Curve class.
Curve(float[] posArray)
          Initialize 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()
           
 float getPosition2X()
           
 float getPosition2Y()
           
 float getPosition3X()
           
 float getPosition3Y()
           
 float getPosition4X()
           
 float getPosition4Y()
           
 Curve setPosition1X(float position1X)
          Sets a float value that indicates the x-coordinate of the control point 1 of the curve.
 Curve setPosition1Y(float position1Y)
           
 Curve setPosition2X(float position2X)
           
 Curve setPosition2Y(float position2Y)
           
 Curve setPosition3X(float position3X)
           
 Curve setPosition3Y(float position3Y)
           
 Curve setPosition4X(float position4X)
           
 Curve setPosition4Y(float position4Y)
           
 
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

Curve

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


Curve

public Curve(float[] posArray)
Initialize a new instance of the Curve class.

Method Detail

getPosition1X

public float getPosition1X()
Gets a float value that indicates the x-coordinate of the control point 1 of the curve.

Returns:
Returns the position1X.

setPosition1X

public Curve setPosition1X(float position1X)
Sets a float value that indicates the x-coordinate of the control point 1 of the curve.

Parameters:
position1X - The position1X to set.

getPosition1Y

public float getPosition1Y()
Returns:
Returns the position1Y.

setPosition1Y

public Curve setPosition1Y(float position1Y)
Parameters:
position1Y - The position1Y to set.

getPosition2X

public float getPosition2X()
Returns:
Returns the position2X.

setPosition2X

public Curve setPosition2X(float position2X)
Parameters:
position2X - The position2X to set.

getPosition2Y

public float getPosition2Y()
Returns:
Returns the position2Y.

setPosition2Y

public Curve setPosition2Y(float position2Y)
Parameters:
position2Y - The position2Y to set.

getPosition3X

public float getPosition3X()
Returns:
Returns the position3X.

setPosition3X

public Curve setPosition3X(float position3X)
Parameters:
position3X - The position3X to set.

getPosition3Y

public float getPosition3Y()
Returns:
Returns the position3Y.

setPosition3Y

public Curve setPosition3Y(float position3Y)
Parameters:
position3Y - The position3Y to set.

getPosition4X

public float getPosition4X()
Returns:
Returns the position4X.

setPosition4X

public Curve setPosition4X(float position4X)
Parameters:
position4X - The position4X to set.

getPosition4Y

public float getPosition4Y()
Returns:
Returns the position4Y.

setPosition4Y

public Curve setPosition4Y(float position4Y)
Parameters:
position4Y - The position4Y to set.