Freigeben über


PathGradientBrush.PathGradientBrush(const Point*, INT, WrapMode) constructor

Applies to: desktop apps only

Creates a PathGradientBrush::PathGradientBrush object based on an array of points. Initializes the wrap mode of the path gradient brush.

Syntax

PathGradientBrush(
  [in]  const Point *points,
  [in]  INT count,
  [in]  WrapMode wrapMode
);

Parameters

  • points [in]
    Type: const Point*

    Pointer to an array of points that specifies the boundary path of the path gradient brush.

  • count [in]
    Type: INT

    Integer that specifies the number of elements in the points array.

  • wrapMode [in]
    Type: WrapMode

    Optional. Element of the WrapMode enumeration that specifies how areas painted with the path gradient brush will be tiled. The default value is WrapModeClamp.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdipluspath.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

PathGradientBrush

GraphicsPath

LinearGradientBrush

Point

Creating a Path Gradient

Filling a Shape with a Color Gradient

Brushes and Filled Shapes

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012