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. JniPeerMembers
  • GradientDrawable
    • Orientation
    • GradientDrawable()
    • GradientDrawable(nint, 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
    {
        public override JniPeerMembers! JniPeerMembers { 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

10/14/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙