Packages

 

com.aspose.imaging

Interfaces

Classes

com.aspose.imaging

Interface IOrderedShape

  • All Known Implementing Classes:
    ArcShape, BezierShape, CurveShape, PolygonShape


    public interface IOrderedShape

    Represents an ordered shape. An ordered shape is a continuous set of points having a start point and end point. The continuous set of points connected using a specific rule.

    • Method Detail

      • getStartPoint

        PointF getStartPoint()

        Gets the starting shape point.

        Returns:
        The starting shape point.
      • getEndPoint

        PointF getEndPoint()

        Gets the ending shape point.

        Returns:
        The ending shape point.
      • isClosed

        boolean isClosed()

        Gets a value indicating whether ordered shape is closed. When processing closed ordered shape the starting and ending points have no meaning.

        Returns:
        true if this ordered shape is closed; otherwise, false.
      • setClosed

        void setClosed(boolean value)
        Sets a value indicating whether ordered shape is closed. When processing closed ordered shape the starting and ending points have no meaning.
        Parameters:
        value - true if this ordered shape is closed; otherwise, false.
      • reverse

        void reverse()

        Reverses the order of points for this shape.