ShapeDrawable.SetIntrinsicWidth(Int32) Method

Definition

Sets the intrinsic (default) width for this shape.

[Android.Runtime.Register("setIntrinsicWidth", "(I)V", "GetSetIntrinsicWidth_IHandler")]
public virtual void SetIntrinsicWidth (int width);
[<Android.Runtime.Register("setIntrinsicWidth", "(I)V", "GetSetIntrinsicWidth_IHandler")>]
abstract member SetIntrinsicWidth : int -> unit
override this.SetIntrinsicWidth : int -> unit

Parameters

width
Int32

the intrinsic width (in pixels)

Attributes

Remarks

Sets the intrinsic (default) width for this shape.

Java documentation for android.graphics.drawable.ShapeDrawable.setIntrinsicWidth(int).

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