CanvasRadialGradientBrushCreateRainbow Method |
A convenience for producing a rainbow-colored gradient.
Namespace:
Microsoft.Graphics.Canvas.Brushes
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public static CanvasRadialGradientBrush CreateRainbow(
ICanvasResourceCreator resourceCreator,
float eldritchness
)
Parameters
- resourceCreator
- Type: Microsoft.Graphics.CanvasICanvasResourceCreator
- eldritchness
- Type: SystemSingle
Zero for a unicorny rainbow of gladness,
One for Seattle style depressing gray and sadness.
Since this value is a float,
you may use fractional values to denote,
sheens inbetween.
Return Value
Type:
CanvasRadialGradientBrushSee Also