Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- startColor
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color at the beginning of the gradient path. This is the color at the point specified by the startX and startY parameters.
- endColor
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color at the end of the gradient path. This is the color at the point specified by the endX and endY 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.