Package com.kheops.jmap.metadata
Class MapImageRequest.AttributedRect
java.lang.Object
com.kheops.jmap.metadata.MapImageRequest.AttributedRect
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- MapImageRequest
The AttributedRect class is a wrapper for a K2DRotateRect object and
 a boolean 
hasDCCoord which defines whether the K2DRect
 object wrapped by this object contains
 a WC or a DC coordinate.- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected byteDefines whether the coord object contains a WC or a DC coordinate.The K2DRotateRect object.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a new AttributedRect instance.AttributedRect(OrientedRectangle rect, boolean hasDCCoord) Creates a new AttributedRect instance.
- 
Method SummaryModifier and TypeMethodDescriptiongetRect()Returns the K2DRotateRect object wrapped by this AttributedRect.booleanReturnstrueif the rect object contains a DC coordinate.voidsetRect(OrientedRectangle rect) Sets the K2DRotateRect object wrapped by this AttributedRect.
- 
Field Details- 
hasDCCoordprotected byte hasDCCoordDefines whether the coord object contains a WC or a DC coordinate.
- 
rectThe K2DRotateRect object.
 
- 
- 
Constructor Details- 
AttributedRectpublic AttributedRect()Creates a new AttributedRect instance.
- 
AttributedRectCreates a new AttributedRect instance.- Parameters:
- rect- the rectangle.
- hasDCCoord- whether the rect object contains a WC or a DC coordinate.
 
 
- 
- 
Method Details- 
hasDCCoordpublic boolean hasDCCoord()Returnstrueif the rect object contains a DC coordinate.- Returns:
- whether the rect object contains a DC coordinate.
 
- 
getRectReturns the K2DRotateRect object wrapped by this AttributedRect.- Returns:
- the K2DRotateRect object.
 
- 
setRectSets the K2DRotateRect object wrapped by this AttributedRect.- Parameters:
- rect- the K2DRotateRect object.
 
 
-