Android Guides | Samples

Android.Graphics.Drawables.BitmapDrawable.TileModeX Property

Indicates the repeat behavior of this drawable on the X axis.

Syntax

[get: Android.Runtime.Register("getTileModeX", "()Landroid/graphics/Shader$TileMode;", "GetGetTileModeXHandler")]
[set: Android.Runtime.Register("setTileModeX", "(Landroid/graphics/Shader$TileMode;)V", "GetSetTileModeX_Landroid_graphics_Shader_TileMode_Handler")]
public virtual Shader+TileMode TileModeX { get; set; }

See Also

Remarks

Get method documentation[Android Documentation]
Indicates the repeat behavior of this drawable on the X axis.

Set method documentation[Android Documentation]
Sets the repeat behavior of this drawable on the X axis. By default, the drawable does not repeat its bitmap. Using NoType:android/graphics/Shader$TileMode;Href=../../../../reference/android/graphics/Shader.TileMode.html#REPEAT or NoType:android/graphics/Shader$TileMode;Href=../../../../reference/android/graphics/Shader.TileMode.html#MIRROR the bitmap can be repeated (or tiled) if the bitmap is smaller than this drawable.

Requirements

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