Description

Rotates an image Aoi by the specified angle, and creates a new image encompassing the rotated image.

Return Type

A McImage object.  

A new McImage

Syntax

object.Rotate (Angle, [Clip], [Flags], [vSourceImg])

The Rotate Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGeometry.
AngleRequired. A Double value.
ClipOptional. A mcWarpClip enumeration, as described in settings.

Whether to clip the result or not.

lFlags

Optional image creation flags for the new image. By default the value is zero, which creates a visible image that is part of the Images collection. See mcImageCreateFlags for the list of supported flags.

FlagsOptional. A mcImageCreateFlags enumeration, as described in settings.
vSourceImgOptional. A Variant value.

Optional source image, operator applies to parent image when parameter is omitted.

Settings

The settings for Clip are:

ConstantValueDescription
 mcwcNoClip0

The resulting image emcompass the entire warped AOI.

 mcwcClip1

Clip resulting image to match source AOI size.

The settings for Flags are:

ConstantValueDescription
 mcicfDefault0
 mcicfContiguous1

If set, frames are allocated contiguously, and you cannot add to the FrameCount at a later time.

 mcicfNoInit2

Default is to initialize to 0 (black), this flag suppresses initialization.

 mcicfNoAddToCollection4

If set, the image is created, but not added to the collection (see Notes).

 mcicfNotVisible8

If set, the image is created, possibly added to collection (see above), but not made visible.

 mcipfNoImportProperties8388608

Suppress ImportProperties for functions creating an image from another.

Remarks

Pixels generated to fill the area between the rotated data and the new image boundaries are set to black.