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.
typedef enum{PAINT_SHAPE_BACK_STYLE_TRANSPARENT,PAINT_SHAPE_BACK_STYLE_OPAQUE,PAINT_SHAPE_BACK_STYLE_TILEDIMAGE,PAINT_SHAPE_BACK_STYLE_GRADIENT} PAINTSHAPEBACKSTYLE, *pPAINTSHAPEBACKSTYLE;
Transparent background.
Opaque background, using crBackgroundColor.
Background will be a tiled image, using pBackgroundTileBitmap.
Background will be a gradient, using nGradientStyle, crGradientStartColor, crGradientEndColor and uGradientSteps.