LinearGradientBrush Constructor (Color, Color)
[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.
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 _
)
public LinearGradientBrush(
Color startColor,
Color endColor
)
public:
LinearGradientBrush(
Color startColor,
Color endColor
)
new :
startColor:Color *
endColor:Color -> LinearGradientBrush
public function LinearGradientBrush(
startColor : Color,
endColor : Color
)
Parameters
- startColor
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color at the beginning of the gradient path.
- endColor
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color at the end of the gradient path.
.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.