BitmapDrawable.TileModeX Property

Definition

Indicates the repeat behavior of this drawable on the X axis. -or- Sets the repeat behavior of this drawable on the X axis.

public virtual Android.Graphics.Shader.TileMode? TileModeX { [Android.Runtime.Register("getTileModeX", "()Landroid/graphics/Shader$TileMode;", "GetGetTileModeXHandler")] get; [Android.Runtime.Register("setTileModeX", "(Landroid/graphics/Shader$TileMode;)V", "GetSetTileModeX_Landroid_graphics_Shader_TileMode_Handler")] set; }
[<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")>]
member this.TileModeX : Android.Graphics.Shader.TileMode with get, set

Property Value

android.graphics.Shader.TileMode#CLAMP if the bitmap does not repeat, android.graphics.Shader.TileMode#REPEAT or android.graphics.Shader.TileMode#MIRROR otherwise.

Attributes

Remarks

Property getter documentation:

Java documentation for android.graphics.drawable.BitmapDrawable.getTileModeX().

Property setter documentation:

Java documentation for android.graphics.drawable.BitmapDrawable.setTileModeX(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

  • TileModeY
  • <xref:Android.Graphics.Drawables.BitmapDrawable.SetTileModeXY(.TileMode%2c+.TileMode)>