Interface Area

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    AreaImpl

    public interface Area
    extends java.io.Serializable

    Interface for the area XML type

    Interface for the area XML Type, implemented in AreaImpl.
    An area describes the actual dimension (either rectangle or polygon) of a page element (element, placeholder or comet group).

    • Method Detail

      • getRect

        java.util.List<Rect> getRect()

        Gets the rectangles of this area.

        Gets the rectangles of this area. If the list contains more than one rectangle, the first one describes the rectangle in normal position and the second one including transformation (such as skew or rotation).

        Returns:
        rectangle or list of rectangles of this area
      • setRect

        void setRect​(java.util.List<Rect> rect)

        Sets the rectangles for this area.

        Sets the rectangles for this area. If the list contains more than one rectangle, the first one should describe the rectangle in normal position and the second one including transformation (such as skew or rotation).

        Parameters:
        rect - the new rect
      • getPolygon

        java.util.List<Polygon> getPolygon()

        Gets the polygons of this area.

        Gets the polygons of this area. Usually this list should not contain more than one entry (in other words: there is no semantics for the 2nd .. nth element in the list).

        Returns:
        polygon or list of polygons of this area.
      • setPolygon

        void setPolygon​(java.util.List<Polygon> polygon)

        Sets the polygons for this area.

        Sets the polygons for this area. Usually this list should not contain more than one entry (in other words: there is no semantics for the 2nd .. nth element in the list).

        Parameters:
        polygon - or list of polygons for this area.