Interface Area
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AreaImpl
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 Summary
-
Method Details
-
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
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
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
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.
-