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.
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
.