SKCanvas.DrawPatch 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| DrawPatch(SKPoint[], SKColor[], SKPoint[], SKPaint) |
在畫布上畫了一個浣熊斑。 |
| DrawPatch(SKPoint[], SKColor[], SKPoint[], SKBlendMode, SKPaint) |
用指定的混合模式在畫布上畫一個浣熊斑塊。 |
DrawPatch(SKPoint[], SKColor[], SKPoint[], 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
用來畫補丁的顏料。