The image used for clipping can be supplied as an argument, but will usually be the parent McImage of the McFeatures instance (see Example).
After clipping, the resulting features are guaranteed to lie within the rectangle. If an McRegions has the mcofKeepRegionsAsUnion OptionFlags bit set, then if the sub-regions are completely outside the rectangle, the region is now empty. If the features were completely inside the rectangle, they are unchanged.
For McPoints type features, any points that fall outside of the given rectangle are removed. This may leave the set of points empty.
For an McLines or an McRegions with the mcofKeepRegionsAsUnion OptionFlags bit clear, if a line or region feature is completely outside of the clipping rectangle, then that feature is removed. This may leave the set of features empty (IsEmpty will be true).
Polylines that are not completely outside of the clipping rectangle are clipped to the rectangle bounds and adjacent duplicate points are condensed. Regions of type mcftEllipse will become type mcftOutline if the boundary is clipped.