Android Guides | Samples

Android.Graphics.Drawables.ShapeDrawable Constructor

Creates a ShapeDrawable with a specified Shape.

Syntax

[Android.Runtime.Register(".ctor", "(Landroid/graphics/drawable/shapes/Shape;)V", "")]
public ShapeDrawable (Shape s)

Parameters

s

Remarks

Creates a ShapeDrawable with a specified Shape.

[Android Documentation]

Requirements

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