語言

Paint.SetStyle(Paint+Style) 方法

定義

設定繪畫風格,用來控制基本元件幾何體的解讀(除了 drawBitmap,因為它總是假設填充)。

[Android.Runtime.Register("setStyle", "(Landroid/graphics/Paint$Style;)V", "GetSetStyle_Landroid_graphics_Paint_Style_Handler")]
public virtual void SetStyle(Android.Graphics.Paint.Style? style);
[<Android.Runtime.Register("setStyle", "(Landroid/graphics/Paint$Style;)V", "GetSetStyle_Landroid_graphics_Paint_Style_Handler")>]
abstract member SetStyle : Android.Graphics.Paint.Style -> unit
override this.SetStyle : Android.Graphics.Paint.Style -> unit

參數

style
Paint.Style

新風格在油漆區中定格

屬性

備註

Java 文件 android.graphics.Paint.setStyle(android.graphics.Style)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於