Paint.StrokeCap Property

Definition

Return the paint's Cap, controlling how the start and end of stroked lines and paths are treated. -or- Set the paint's Cap.

public virtual Android.Graphics.Paint.Cap? StrokeCap { [Android.Runtime.Register("getStrokeCap", "()Landroid/graphics/Paint$Cap;", "GetGetStrokeCapHandler")] get; [Android.Runtime.Register("setStrokeCap", "(Landroid/graphics/Paint$Cap;)V", "GetSetStrokeCap_Landroid_graphics_Paint_Cap_Handler")] set; }
[<get: Android.Runtime.Register("getStrokeCap", "()Landroid/graphics/Paint$Cap;", "GetGetStrokeCapHandler")>]
[<set: Android.Runtime.Register("setStrokeCap", "(Landroid/graphics/Paint$Cap;)V", "GetSetStrokeCap_Landroid_graphics_Paint_Cap_Handler")>]
member this.StrokeCap : Android.Graphics.Paint.Cap with get, set

Property Value

the line cap style for the paint, used whenever the paint's style is Stroke or StrokeAndFill.

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Java documentation for android.graphics.Paint.setStrokeCap(android.graphics.Cap).

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