SKCanvas.DrawPatch 方法

定義

多載

名稱 Description
DrawPatch(SKPoint[], SKColor[], SKPoint[], SKPaint)

在畫布上畫了一個浣熊斑。

DrawPatch(SKPoint[], SKColor[], SKPoint[], SKBlendMode, SKPaint)

用指定的混合模式在畫布上畫一個浣熊斑塊。

DrawPatch(SKPoint[], SKColor[], SKPoint[], SKPaint)

在畫布上畫了一個浣熊斑。

public void DrawPatch(SkiaSharp.SKPoint[] cubics, SkiaSharp.SKColor[] colors, SkiaSharp.SKPoint[] texCoords, SkiaSharp.SKPaint paint);

參數

cubics
SKPoint[]

12個立方控制點劃定了地塊邊界。

colors
SKColor[]

雙線性插值的四個角顏色,或 null。

texCoords
SKPoint[]

四個角落的紋理座標,或 null。

paint
SKPaint

用來畫補丁的顏料。

適用於

DrawPatch(SKPoint[], SKColor[], SKPoint[], SKBlendMode, SKPaint)

用指定的混合模式在畫布上畫一個浣熊斑塊。

public void DrawPatch(SkiaSharp.SKPoint[] cubics, SkiaSharp.SKColor[] colors, SkiaSharp.SKPoint[] texCoords, SkiaSharp.SKBlendMode mode, SkiaSharp.SKPaint paint);

參數

cubics
SKPoint[]

12個立方控制點劃定了地塊邊界。

colors
SKColor[]

雙線性插值的四個角顏色,或 null。

texCoords
SKPoint[]

四個角落的紋理座標,或 null。

mode
SKBlendMode

當指定顏色時使用的混合模式。

paint
SKPaint

用來畫補丁的顏料。

適用於