PathGradientBrush.PathGradientBrush(const GraphicsPath*) constructor

Applies to: desktop apps only

Creates a PathGradientBrush::PathGradientBrush object based on a GraphicsPath object.

Syntax

PathGradientBrush(
  [in]  const GraphicsPath *path
);

Parameters

  • path [in]
    Type: const GraphicsPath*

    Pointer to a GraphicsPath object that specifies the boundary path of the path gradient brush.

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

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