SKCanvas.DrawColor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawColor(SKColor, SKBlendMode) |
Fills the current clipping area with the specified color using the specified color and blend mode. |
DrawColor(SKColorF, SKBlendMode) |
DrawColor(SKColor, SKBlendMode)
Fills the current clipping area with the specified color using the specified color and blend mode.
public void DrawColor (SkiaSharp.SKColor color, SkiaSharp.SKBlendMode mode = SkiaSharp.SKBlendMode.Src);
Parameters
- color
- SKColor
The color to use to paint the clipping region.
- mode
- SKBlendMode
The blend mode for the color.
Applies to
DrawColor(SKColorF, SKBlendMode)
public void DrawColor (SkiaSharp.SKColorF color, SkiaSharp.SKBlendMode mode = SkiaSharp.SKBlendMode.Src);
Parameters
- color
- SKColorF
- mode
- SKBlendMode
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.