Share via


Paint.SetStyle(Paint+Style) Method

Definition

Set the paint's style, used for controlling how primitives' geometries are interpreted (except for drawBitmap, which always assumes Fill).

[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

Parameters

style
Paint.Style

The new style to set in the paint

Attributes

Remarks

Java documentation for android.graphics.Paint.setStyle(android.graphics.Style).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to