Paint.GetStyle Method

Definition

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

[Android.Runtime.Register("getStyle", "()Landroid/graphics/Paint$Style;", "GetGetStyleHandler")]
public virtual Android.Graphics.Paint.Style? GetStyle ();
[<Android.Runtime.Register("getStyle", "()Landroid/graphics/Paint$Style;", "GetGetStyleHandler")>]
abstract member GetStyle : unit -> Android.Graphics.Paint.Style
override this.GetStyle : unit -> Android.Graphics.Paint.Style

Returns

the paint's style setting (Fill, Stroke, StrokeAndFill)

Attributes

Remarks

Java documentation for android.graphics.Paint.getStyle().

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