StretchMode Enumeration

The StretchMode Enumeration specifies the bitmap
stretching mode, which defines how the system combines rows or columns
of a bitmap with existing pixels.

Module: aspose.imaging.fileformats.wmf.consts

Full Name: aspose.imaging.fileformats.wmf.consts.StretchMode

Members

Member nameDescription
BLACK_ON_WHITEPerforms a Boolean AND operation by using the color values for the
eliminated and existing pixels. If the bitmap is a monochrome
bitmap, this mode preserves black pixels at the expense of white
pixels
COLOR_ON_COLORDeletes the pixels. This mode deletes all eliminated lines of pixels
without trying to preserve their information.
HALF_TONEMaps pixels from the source rectangle into blocks of pixels in the
destination rectangle. The average color over the destination block
of pixels approximates the color of the source pixels.
WHITE_ON_BLACKPerforms a Boolean OR operation by using the color values for the
eliminated and existing pixels. If the bitmap is a monochrome
bitmap, this mode preserves white pixels at the expense of black
pixels