Version 23.1 (latest)

PaintElement Constructor(Color,Color,GradientStyle)

Creates a PaintElement object with the specified Gradient fill characteristics.
Syntax
public PaintElement( 
   Color fillColor,
   Color fillStopColor,
   GradientStyle gradientStyle
)

Parameters

fillColor
Starting gradient fill color.
fillStopColor
Ending gradient fill color.
gradientStyle
Gradient fill direction or path.
Remarks

This constructor can be used to create a default PaintElement object intended for gradient fills.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also