SKCanvas.DrawColor Method

Definition

Overloads

DrawColor(SKColor, SKBlendMode)

Fills the current clipping area with the specified color using the specified color and blend mode.

DrawColor(SKColor, SKXferMode)

Fills the current clipping area with the specified color using the specified color and transfer mode.

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.

DrawColor(SKColor, SKXferMode)

Warning

This API is now obsolete.

Fills the current clipping area with the specified color using the specified color and transfer mode.

[System.Obsolete("Use DrawColor(SKColor, SKBlendMode) instead.", true)]
public void DrawColor (SkiaSharp.SKColor color, SkiaSharp.SKXferMode mode);

Parameters

color
SKColor

The color to use to paint the clipping region.

mode
SKXferMode

The transfer mode for the color.

Attributes

Applies to