PAINTSHAPEBACKSTYLE

typedef enum
{
   PAINT_SHAPE_BACK_STYLE_TRANSPARENT,
   PAINT_SHAPE_BACK_STYLE_OPAQUE,
   PAINT_SHAPE_BACK_STYLE_TILEDIMAGE,
   PAINT_SHAPE_BACK_STYLE_GRADIENT
} PAINTSHAPEBACKSTYLE, *pPAINTSHAPEBACKSTYLE;

The PAINTSHAPEBACKSTYLE enumerated type contains options for the background style of a shape. These are the possible values for the nBackgroundStyle member of the PAINTSHAPE structure.

Value

Meaning

PAINT_SHAPE_BACK_STYLE_TRANSPARENT

Transparent background.

PAINT_SHAPE_BACK_STYLE_OPAQUE

Opaque background, using crBackgroundColor.

PAINT_SHAPE_BACK_STYLE_TILEDIMAGE

Background will be a tiled image, using pBackgroundTileBitmap.

PAINT_SHAPE_BACK_STYLE_GRADIENT

Background will be a gradient, using nGradientStyle, crGradientStartColor, crGradientEndColor and uGradientSteps.