Android Guides | Samples

Android.Graphics.Drawables.GradientDrawable.Orientation Class

Controls how the gradient is oriented relative to the drawable's bounds

See Also: GradientDrawable+Orientation

Syntax

[Android.Runtime.Register("android/graphics/drawable/GradientDrawable$Orientation", DoNotGenerateAcw=true)]
public sealed class GradientDrawable.Orientation : Enum

Remarks

Controls how the gradient is oriented relative to the drawable's bounds

[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

The members of Android.Graphics.Drawables.GradientDrawable.Orientation are listed below.

See Also: Enum

Public Properties

[read-only]
static
BlTrGradientDrawable+Orientation. draw the gradient from the bottom-left to the top-right
[read-only]
static
BottomTopGradientDrawable+Orientation. draw the gradient from the bottom to the top
[read-only]
static
BrTlGradientDrawable+Orientation. draw the gradient from the bottom-right to the top-left
[read-only]
static
LeftRightGradientDrawable+Orientation. draw the gradient from the left to the right
[read-only]
static
RightLeftGradientDrawable+Orientation. draw the gradient from the right to the left
[read-only]
static
TlBrGradientDrawable+Orientation. draw the gradient from the top-left to the bottom-right
[read-only]
static
TopBottomGradientDrawable+Orientation. draw the gradient from the top to the bottom
[read-only]
static
TrBlGradientDrawable+Orientation. draw the gradient from the top-right to the bottom-left

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.

Public Methods