LinearGradientBrush Constructor (Color, Color, Int32, Int32, Int32, Int32)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the LinearGradientBrush class with the specified starting and ending colors and gradient path.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub New ( _
    startColor As Color, _
    endColor As Color, _
    startX As Integer, _
    startY As Integer, _
    endX As Integer, _
    endY As Integer _
)
public LinearGradientBrush(
    Color startColor,
    Color endColor,
    int startX,
    int startY,
    int endX,
    int endY
)
public:
LinearGradientBrush(
    Color startColor, 
    Color endColor, 
    int startX, 
    int startY, 
    int endX, 
    int endY
)
new : 
        startColor:Color * 
        endColor:Color * 
        startX:int * 
        startY:int * 
        endX:int * 
        endY:int -> LinearGradientBrush
public function LinearGradientBrush(
    startColor : Color, 
    endColor : Color, 
    startX : int, 
    startY : int, 
    endX : int, 
    endY : int
)

Parameters

  • startX
    Type: System. . :: . .Int32
    The horizontal coordinate (relative to the left edge of the area being painted) of the starting point of the gradient's path. The default value is 0 (zero), which is the left edge of the area.
  • startY
    Type: System. . :: . .Int32
    The vertical coordinate (relative to the top edge of the area being painted) of the starting point of the gradient's path. The default value is 0 (zero), which is the top edge of the area.
  • endX
    Type: System. . :: . .Int32
    The horizontal coordinate (relative to the left edge of the area being painted) of the ending point of the gradient's path. The default value is 1, which is the right edge of the area.
  • endY
    Type: System. . :: . .Int32
    The vertical coordinate (relative to the top edge of the area being painted) of the ending point of the gradient's path. The default value is 1, which is the bottom edge of the area.

.NET Framework Security

See Also

Reference

LinearGradientBrush Class

LinearGradientBrush Overload

Microsoft.SPOT.Presentation.Media Namespace