Méthode | Description | |
---|---|---|
ClearColorFilter ( ) : void | ||
Draw ( Android.Graphics.Canvas canvas ) : void | ||
IconDrawable ( Android.Content.Context context, |
Create an IconDrawable.
|
|
IconDrawable ( Android.Content.Context context, object iconKey ) : System |
Create an IconDrawable.
|
|
IconDrawable ( Android.Content.Context context, string iconKey ) : System |
Create an IconDrawable.
|
|
SetAlpha ( int alpha ) : void | ||
SetColorFilter ( Android.Graphics.ColorFilter cf ) : void | ||
SetState ( int stateSet ) : bool | ||
WIthSizeDp ( int size ) : |
Set the size of the drawable.
|
|
WithActionBarSize ( ) : |
Set the size of this icon to the standard Android ActionBar.
|
|
WithAlpha ( int alpha ) : |
Set the WithAlpha of this drawable.
|
|
WithColor ( Color color ) : |
Set the Color of the drawable.
|
|
WithColorRes ( int colorRes ) : |
Set the Color of the drawable.
|
|
WithSizePx ( int size ) : |
Set the size of the drawable.
|
|
WithSizeRes ( int dimenRes ) : |
Set the size of the drawable.
|
Méthode | Description | |
---|---|---|
ConvertDpToPx ( Android.Content.Context context, float dp ) : int | ||
Init ( Android.Content.Context context, |
||
isEnabled ( int stateSet ) : bool |
public Draw ( Android.Graphics.Canvas canvas ) : void | ||
canvas | Android.Graphics.Canvas | |
Résultat | void |
public IconDrawable ( Android.Content.Context context, |
||
context | Android.Content.Context | Your activity or application context. |
icon | The icon you want this drawable to display. | |
Résultat | System |
public IconDrawable ( Android.Content.Context context, object iconKey ) : System | ||
context | Android.Content.Context | Your activity or application context. |
iconKey | object | The icon key you want this drawable to display. Calls iconKey.ToString() method internally to get icon name |
Résultat | System |
public IconDrawable ( Android.Content.Context context, string iconKey ) : System | ||
context | Android.Content.Context | Your activity or application context. |
iconKey | string | The icon key you want this drawable to display. |
Résultat | System |
public SetColorFilter ( Android.Graphics.ColorFilter cf ) : void | ||
cf | Android.Graphics.ColorFilter | |
Résultat | void |
public WIthSizeDp ( int size ) : |
||
size | int | The _size in density-independent pixels (dp). |
Résultat |
public WithActionBarSize ( ) : |
||
Résultat |
public WithAlpha ( int alpha ) : |
||
alpha | int | The WithAlpha, between 0 (transparent) and 255 (opaque). |
Résultat |
public WithColor ( Color color ) : |
||
color | Color | The WithColor, usually from android.graphics.Color or 0xFF012345. |
Résultat |
public WithColorRes ( int colorRes ) : |
||
colorRes | int | The WithColor resource id, from your Resource class. |
Résultat |
public WithSizePx ( int size ) : |
||
size | int | The _size in pixels (px). |
Résultat |
public WithSizeRes ( int dimenRes ) : |
||
dimenRes | int | The dimension resource. |
Résultat |