Share via


BitmapDrawable.SetTileModeXY(Shader+TileMode, Shader+TileMode) Method

Definition

Sets the repeat behavior of this drawable on both axis.

[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);
[<Android.Runtime.Register("setTileModeXY", "(Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V", "GetSetTileModeXY_Landroid_graphics_Shader_TileMode_Landroid_graphics_Shader_TileMode_Handler")>]
abstract member SetTileModeXY : Android.Graphics.Shader.TileMode * Android.Graphics.Shader.TileMode -> unit
override this.SetTileModeXY : Android.Graphics.Shader.TileMode * Android.Graphics.Shader.TileMode -> unit

Parameters

xmode
Shader.TileMode

The X repeat mode for this drawable.

ymode
Shader.TileMode

The Y repeat mode for this drawable.

Attributes

Remarks

Java documentation for android.graphics.drawable.BitmapDrawable.setTileModeXY(android.graphics.TileMode, android.graphics.TileMode).

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

See also