Version

PaintElement Constructor(Color,Color,Byte,Byte,GradientStyle,PaintElementType)

Creates a PaintElement object with the specified Gradient fill characteristics.
Syntax
'Declaration
 
Public Function New( _
   ByVal fill As Color, _
   ByVal fillStopColor As Color, _
   ByVal fillOpacity As Byte, _
   ByVal fillStopOpacity As Byte, _
   ByVal fillGradientStyle As GradientStyle, _
   ByVal elementType As PaintElementType _
)

Parameters

fill
Starting gradient fill color.
fillStopColor
Ending gradient fill color.
fillOpacity
Starting gradient fill opacity.
fillStopOpacity
Ending gradient fill opacity.
fillGradientStyle
Gradient fill direction or path.
elementType
Type of paint element.
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