Package com.hp.lft.sdk
Class ImageMaskArea
java.lang.Object
com.hp.lft.sdk.ImageMaskArea
A class representing image mask rectangle areas. You can use it to define a rectangle area to include and/or to exclude.
If include and exclude areas overlap, the exclude overrides the include.
If include and exclude areas overlap, the exclude overrides the include.
- 
Constructor SummaryConstructorsConstructorDescriptionInitializes a new instance of the ImageMaskArea class that does not receive any rectangles as parameters.ImageMaskArea(Rectangle includeRectangle, Rectangle excludeRectangle) Initializes a new instance of the ImageMaskArea class that can get include and exclude areas.
- 
Method SummaryModifier and TypeMethodDescriptionGets the rectangle area to exclude from the mask image.Gets the rectangle area to include in the mask image.voidsetExcludeRectangle(Rectangle excludeRectangle) Sets the rectangle area to exclude from the mask image.voidsetIncludeRectangle(Rectangle includeRectangle) Sets the rectangle area to include in the mask image.
- 
Constructor Details- 
ImageMaskAreapublic ImageMaskArea()Initializes a new instance of the ImageMaskArea class that does not receive any rectangles as parameters.
- 
ImageMaskAreaInitializes a new instance of the ImageMaskArea class that can get include and exclude areas.- Parameters:
- includeRectangle- The area to include in the mask.
- excludeRectangle- The area to exclude from the mask.
 
 
- 
- 
Method Details- 
getIncludeRectangleGets the rectangle area to include in the mask image.- Returns:
- The rectangle area to include in the mask image.
 
- 
getExcludeRectangleGets the rectangle area to exclude from the mask image.
 If include and exclude areas overlap, the exclude overrides the include.- Returns:
- The rectangle area to exclude from the mask image.
 
- 
setIncludeRectangleSets the rectangle area to include in the mask image.
 If include and exclude areas overlap, the exclude overrides the include.- Parameters:
- includeRectangle- The area to include in the mask.
 
- 
setExcludeRectangleSets the rectangle area to exclude from the mask image.
 If include and exclude areas overlap, the exclude overrides the include.- Parameters:
- excludeRectangle- The area to exclude from the mask.
 
 
-