ImageGear21.Core Assembly > ImageGear.Core Namespace > ImGearROIMask Class > ImGearROIMask Constructor : ImGearROIMask Constructor(Int32,Int32,IImGearShape) |
'Declaration Public Function New( _ ByVal left As Integer, _ ByVal top As Integer, _ ByVal shape As IImGearShape _ )
'Usage Dim left As Integer Dim top As Integer Dim shape As IImGearShape Dim instance As New ImGearROIMask(left, top, shape)
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
.