Table of Contents

Class ShapeDrawable

Namespace
Android.Graphics.Drawable
Assembly
MASES.Netdroid.dll
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

arg0 Shape

Shape

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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

CreatePoolableInstance()

HPA initializer for ShapeDrawable()

public static ShapeDrawable CreatePoolableInstance()

Returns

ShapeDrawable

CreatePoolableInstance(Shape)

HPA initializer for ShapeDrawable(Android.Graphics.Drawable.Shapes.Shape arg0)

public static ShapeDrawable CreatePoolableInstance(Shape arg0)

Parameters

arg0 Shape

Returns

ShapeDrawable

GetPaint()

public Paint GetPaint()

Returns

Paint

Paint

GetShaderFactory()

public ShapeDrawable.ShaderFactory GetShaderFactory()

Returns

ShapeDrawable.ShaderFactory

ShapeDrawable.ShaderFactory

GetShape()

public Shape GetShape()

Returns

Shape

Shape

SetIntrinsicHeight(int)

public void SetIntrinsicHeight(int arg0)

Parameters

arg0 int

int

SetIntrinsicWidth(int)

public void SetIntrinsicWidth(int arg0)

Parameters

arg0 int

int

SetPadding(Rect)

public void SetPadding(Rect arg0)

Parameters

arg0 Rect

Rect

SetPadding(int, int, int, int)

public void SetPadding(int arg0, int arg1, int arg2, int arg3)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 int

int

SetShaderFactory(ShaderFactory)

public void SetShaderFactory(ShapeDrawable.ShaderFactory arg0)

Parameters

arg0 ShapeDrawable.ShaderFactory

ShapeDrawable.ShaderFactory

SetShape(Shape)

public void SetShape(Shape arg0)

Parameters

arg0 Shape

Shape