Packages

 

com.aspose.imaging.shapes

Class RectangleShape

    • Constructor Detail

      • RectangleShape

        public RectangleShape()

        Initializes a new instance of the RectangleShape class.

      • RectangleShape

        public RectangleShape(RectangleF rectangle)

        Initializes a new instance of the RectangleShape class.

        Parameters:
        rectangle - The rectangle.
    • Method Detail

      • getSegments

        public ShapeSegment[] getSegments()

        Gets the shape segments.

        Value: The shape segments.
        Specified by:
        getSegments in class Shape
        Returns:
        The shape segments.