Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Android.Graphics.Drawables
  3. GradientDrawable
  4. ThresholdClass
  • GradientDrawable
    • Orientation
    • GradientDrawable()
    • GradientDrawable(IntPtr, JniHandleOwnership)
    • GradientDrawable(Orientation, Int32[])
    • Color
    • CornerRadius
    • GradientCenterX
    • GradientCenterY
    • GradientRadius
    • GradientType
    • InnerRadius
    • InnerRadiusRatio
    • JniPeerMembers
    • Opacity
    • Shape
    • Thickness
    • ThicknessRatio
    • ThresholdClass
    • ThresholdType
    • UseLevel
    • Draw(Canvas)
    • GetColors()
    • GetCornerRadii()
    • GetOrientation()
    • SetAlpha(Int32)
    • SetColor(ColorStateList)
    • SetColor(Int32)
    • SetColorFilter(ColorFilter)
    • SetColors(Int32[])
    • SetColors(Int32[], Single[])
    • SetCornerRadii(Single[])
    • SetCornerRadius(Single)
    • SetGradientCenter(Single, Single)
    • SetGradientRadius(Single)
    • SetGradientType(GradientType)
    • SetOrientation(Orientation)
    • SetPadding(Int32, Int32, Int32, Int32)
    • SetShape(ShapeType)
    • SetSize(Int32, Int32)
    • SetStroke(Int32, Color)
    • SetStroke(Int32, ColorStateList)
    • SetStroke(Int32, Color, Single, Single)
    • SetStroke(Int32, ColorStateList, Single, Single)
    • SetUseLevel(Boolean)
monoandroid
namespace Android.Graphics.Drawables
{
    [Register("android/graphics/drawable/GradientDrawable", DoNotGenerateAcw = true)]
    public class GradientDrawable : Drawable
    {
        protected override IntPtr ThresholdClass { get; }
    }
}
.NET
6.07.08.09.0
Information specific to monoandroid
Assembly

Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This framework does not have platform annotations.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙