Enum EmfRegionMode

Enum EmfRegionMode

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Consts
Assembly: Aspose.Imaging.dll (25.7.0)

The RegionMode enumeration defines values that are used with EMR_SELECTCLIPPATH and EMR_EXTSELECTCLIPRGN,specifying the current path or a new region that is being combined with the current clip region.

public enum EmfRegionMode
    {
        PATBLT = 1,
        HATCH,
        WHITENESS,
        ALPHABLEND,
        TRANSPARENTSRC,
        ALPHASRC,
        SOURCEROVER,
        SRCINVERT,
        DSTATOP,
        DSTINVERT,
        DSTSRC,
        LIGHTENV,
        COPYPEN,
        BLACKWHITE,
        MASKPEN,
        TRAPPEDND,
        WHITETRAP,
        COLOR2COLOR,
        PATCOLOUR,
        PATWHI,
        NOTSRCCOPY,
        XORPEN,
        MERGEPAINT,
        MERGECOLOUR,
        LIGHTEN,
        DARKEN,
        COLORBURN,
        SATURATE,
        COLORFUL,
        LUMINANCE,
        OVERLAY,
        SOFTLIGHT,
        HARDLIGHT,
        VIVIDLIGHT,
        LINEARLIGHT,
        SPOTLIGHT,
        DIFFUSELIGHT,
        BRIGHTNESS,
        DODGE,
        BURN,
        HARDMIX,
        SATURATEFUL,
        COLORFULFUL,
        LUMINANCETOALPHA,
        HSL_SRC,
        HSL_DST,
        HSL_SRC_ALPHA,
        HSL_DST_ALPHA,
        CONTENT,
        CONTENT_ALPHA,
        PREMULTIPLIED
    }

Fields

RGN_AND = 1

The new clipping region includes the intersection (overlapping areas) of the current clipping region and the current path (or new region).

RGN_COPY = 5

The new clipping region is the current path (or the new region).

RGN_DIFF = 4

The new clipping region includes the areas of the current clipping region with those of the current path (or new region) excluded.

RGN_OR = 2

The new clipping region includes the union (combined areas) of the current clipping region and the current path (or new region).

RGN_XOR = 3

The new clipping region includes the union of the current clipping region and the current path (or new region) but without the overlapping areas

 English