Class AreaImpl

java.lang.Object
com.priint.pubserver.metadata.xml.base.AreaImpl
All Implemented Interfaces:
Area, Serializable

public class AreaImpl extends Object implements Serializable, Area
See Also:
  • Constructor Details

    • AreaImpl

      public AreaImpl()
  • Method Details

    • getRect

      public List<Rect> getRect()
      Description copied from interface: Area

      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).

      Specified by:
      getRect in interface Area
      Returns:
      rectangle or list of rectangles of this area
    • setRect

      public void setRect(List<Rect> rect)
      Description copied from interface: Area

      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).

      Specified by:
      setRect in interface Area
      Parameters:
      rect - the new rect
    • getPolygon

      public List<Polygon> getPolygon()
      Description copied from interface: Area

      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).

      Specified by:
      getPolygon in interface Area
      Returns:
      polygon or list of polygons of this area.
    • setPolygon

      public void setPolygon(List<Polygon> polygon)
      Description copied from interface: Area

      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).

      Specified by:
      setPolygon in interface Area
      Parameters:
      polygon - or list of polygons for this area.