com.aspose.pdf.drawing

Class Line



  • public final class Line
    extends Shape

    Represents line.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Line()
      For Internal usage only
      Line(float[] positionArray)
      Initializes a new instance of the Line class.
    • Constructor Detail

      • Line

        public Line()

        For Internal usage only

      • Line

        public Line(float[] positionArray)

        Initializes a new instance of the Line class.

        Parameters:
        positionArray - The line position array.
    • Method Detail

      • getPositionArray

        public float[] getPositionArray()

        Gets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.

        Returns:
        that indicates the position array.
      • setPositionArray

        public void setPositionArray(float[] value)

        Sets object that indicates the position array.The array is composed by coordinates of each control point of the line. directly.

        Parameters:
        value - that indicates the position array.