Assuming that a Rect structure contains the extent of
something relative to a position inside an image, this function crops
the Rect so that the whole content is inside the image.
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
Parameters
- ext
- Type: Stemmer.CvbRect
Rect to be cropped. - pos
- Type: Stemmer.CvbPoint2D
Position in the image relative to which the extent is to be applied. - imageSize
- Type: Stemmer.CvbSize2D
Available size (i.e. upper limit for cropping).
Return Value
Type: RectCropped Rect.
See Also