ImageGear for Java
ImGearROIMask Constructor(int,int,IImGearShape)
X coordinate of the left top corner of the region.
Y coordinate of the left top corner of the region.
Shape from which the mask will be generated.

This constructor generates mask image from the shape with minimal possible dimensions. The shape is rasterized (drawn) onto the mask image at the time of the mask creation. Left member is set to the sum of left parameter and x coordinate of left-most point of the Shape. The Top member is set to the sum of the top parameter and the y coordinate of the topmost point of the Shape.

Initializes a new instance of the ImGearROIMask class from an com.accusoft.imagegear.core.shapes.IImGearShape object.

Syntax
public ImGearROIMask( 
   int left,
   int top,
   IImGearShape shape
)

Parameters

left
X coordinate of the left top corner of the region.
top
Y coordinate of the left top corner of the region.
shape
Shape from which the mask will be generated.

This constructor generates mask image from the shape with minimal possible dimensions. The shape is rasterized (drawn) onto the mask image at the time of the mask creation. Left member is set to the sum of left parameter and x coordinate of left-most point of the Shape. The Top member is set to the sum of the top parameter and the y coordinate of the topmost point of the Shape.

See Also

Reference

ImGearROIMask Class
ImGearROIMask Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback