Android Guides | Samples

Android.Graphics.BitmapShader Class

Shader used to draw a bitmap as a texture.

See Also: BitmapShader

Syntax

[Android.Runtime.Register("android/graphics/BitmapShader", DoNotGenerateAcw=true)]
public class BitmapShader : Shader

Remarks

Shader used to draw a bitmap as a texture. The bitmap can be repeated or mirrored by setting the tiling mode.

[Android Documentation]

Requirements

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

The members of Android.Graphics.BitmapShader are listed below.

See Also: Shader

Public Constructors

Call this to create a new shader that will draw with a bitmap.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.