ImageGear for .NET
ImGearROIMask Constructor(Int32,Int32,IImGearShape)
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearROIMask Class > ImGearROIMask Constructor : ImGearROIMask Constructor(Int32,Int32,IImGearShape)




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.

Glossary Item Box

Initializes a new instance of the ImGearROIMask class from an IImGearShape object.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

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.

Remarks

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

©2013. Accusoft Corporation. All Rights Reserved.