Android.Graphics.Drawables.BitmapDrawable.SetTileModeXY Method
Sets the repeat behavior of this drawable on both axis.

Syntax

[Android.Runtime.Register("setTileModeXY", "(Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V", "GetSetTileModeXY_Landroid_graphics_Shader_TileMode_Landroid_graphics_Shader_TileMode_Handler")]
public virtual void SetTileModeXY (Android.Graphics.Shader.TileMode xmode, Android.Graphics.Shader.TileMode ymode)

See Also

BitmapDrawable.TileModeX
BitmapDrawable.TileModeY

Parameters

xmode
The X repeat mode for this drawable.
ymode
The Y repeat mode for this drawable.

Remarks

Sets the repeat behavior of this drawable on both 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.

[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