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)
net9.0-android34.0
namespace Android.Graphics.Drawables
{
[Register("android/graphics/drawable/GradientDrawable", DoNotGenerateAcw = true)]
public class GradientDrawable : Drawable
{
[SupportedOSPlatform("android24.0")]
public virtual bool UseLevel
{
[Register("getUseLevel", "()Z", "GetGetUseLevelHandler", ApiSince = 24)]
get;
}
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API