Class AreaImpl
- java.lang.Object
-
- com.priint.pubserver.metadata.xml.base.AreaImpl
-
- All Implemented Interfaces:
Area,java.io.Serializable
public class AreaImpl extends java.lang.Object implements java.io.Serializable, Area
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AreaImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Polygon>getPolygon()Gets the polygons of this area.java.util.List<Rect>getRect()Gets the rectangles of this area.voidsetPolygon(java.util.List<Polygon> polygon)Sets the polygons for this area.voidsetRect(java.util.List<Rect> rect)Sets the rectangles for this area.
-
-
-
Method Detail
-
getRect
public java.util.List<Rect> getRect()
Description copied from interface:AreaGets 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).
-
setRect
public void setRect(java.util.List<Rect> rect)
Description copied from interface:AreaSets 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).
-
getPolygon
public java.util.List<Polygon> getPolygon()
Description copied from interface:AreaGets 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:
getPolygonin interfaceArea- Returns:
- polygon or list of polygons of this area.
-
setPolygon
public void setPolygon(java.util.List<Polygon> polygon)
Description copied from interface:AreaSets 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:
setPolygonin interfaceArea- Parameters:
polygon- or list of polygons for this area.
-
-