| ImageGearJava Project > com.accusoft.imagegear.core Package > ImGearROIMask Class > ImGearROIMask Constructor : ImGearROIMask Constructor(int,int,IImGearShape) |
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.
public ImGearROIMask( int left, int top, IImGearShape shape ) |
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.