Class ShapeDrawable
public class ShapeDrawable : Drawable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
ShapeDrawable
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ShapeDrawable()
public ShapeDrawable()
ShapeDrawable(Shape)
public ShapeDrawable(Shape arg0)
Parameters
ShapeDrawable(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ShapeDrawable(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for ShapeDrawable()
public static ShapeDrawable CreatePoolableInstance()
Returns
CreatePoolableInstance(Shape)
HPA initializer for ShapeDrawable(Android.Graphics.Drawable.Shapes.Shape arg0)
public static ShapeDrawable CreatePoolableInstance(Shape arg0)
Parameters
arg0Shape
Returns
GetPaint()
public Paint GetPaint()
Returns
GetShaderFactory()
public ShapeDrawable.ShaderFactory GetShaderFactory()
Returns
GetShape()
public Shape GetShape()
Returns
SetIntrinsicHeight(int)
public void SetIntrinsicHeight(int arg0)
Parameters
SetIntrinsicWidth(int)
public void SetIntrinsicWidth(int arg0)
Parameters
SetPadding(Rect)
public void SetPadding(Rect arg0)
Parameters
SetPadding(int, int, int, int)
public void SetPadding(int arg0, int arg1, int arg2, int arg3)
Parameters
SetShaderFactory(ShaderFactory)
public void SetShaderFactory(ShapeDrawable.ShaderFactory arg0)
Parameters
SetShape(Shape)
public void SetShape(Shape arg0)