Android Guides | Samples

Android.Graphics.Paint.Cap Class

The Cap specifies the treatment for the beginning and ending of stroked lines and paths.

See Also: Paint+Cap

Syntax

[Android.Runtime.Register("android/graphics/Paint$Cap", DoNotGenerateAcw=true)]
public sealed class Paint.Cap : Enum

Remarks

The Cap specifies the treatment for the beginning and ending of stroked lines and paths. The default is BUTT.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Graphics.Paint.Cap are listed below.

See Also: Enum

Public Properties

[read-only]
static
ButtPaint+Cap. The stroke ends with the path, and does not project beyond it.
[read-only]
static
RoundPaint+Cap. The stroke projects out as a semicircle, with the center at the end of the path.
[read-only]
static
SquarePaint+Cap. The stroke projects out as a square, with the center at the end of the path.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
ValueOf(String) : Paint+Cap
static
Values() : Paint+Cap[]