Třída pro jednoduché zobrazení 1ch a 4ch bitmap, umožňuje pouze nastavit paint pozadí a popředí.
More...
Třída pro jednoduché zobrazení 1ch a 4ch bitmap, umožňuje pouze nastavit paint pozadí a popředí.
Definition at line 14 of file SimpleBitmapView.java.
mhr.appandroid.views.SimpleBitmapView.SimpleBitmapView |
( |
Context |
context | ) |
|
|
inline |
mhr.appandroid.views.SimpleBitmapView.SimpleBitmapView |
( |
Context |
context, |
|
|
AttributeSet |
attrs |
|
) |
| |
|
inline |
mhr.appandroid.views.SimpleBitmapView.SimpleBitmapView |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyle |
|
) |
| |
|
inline |
Paint mhr.appandroid.views.SimpleBitmapView.getBitmapBackground |
( |
| ) |
|
|
inline |
Vrátí instanci Paint, která se použije pro vyplnění pozadí View před vykreslením MaskCanvasu.
- Returns
Definition at line 69 of file SimpleBitmapView.java.
Paint mhr.appandroid.views.SimpleBitmapView.getBitmapForeground |
( |
| ) |
|
|
inline |
Vrátí instanci Paint, která se použije pro vykreslení bitmapy.
- Returns
Definition at line 77 of file SimpleBitmapView.java.
Rect mhr.appandroid.views.SimpleBitmapView.getDstRect |
( |
| ) |
|
|
inline |
Vrátí obdélník použitelný pro vykreslování - limit pro viditelnou oblast bitmapy.
- Returns
Definition at line 102 of file SimpleBitmapView.java.
void mhr.appandroid.views.SimpleBitmapView.init |
( |
| ) |
|
|
inlineprotected |
void mhr.appandroid.views.SimpleBitmapView.onDetachedFromWindow |
( |
| ) |
|
|
inlineprotected |
void mhr.appandroid.views.SimpleBitmapView.onDraw |
( |
Canvas |
canvas | ) |
|
|
inlineprotected |
void mhr.appandroid.views.SimpleBitmapView.onSizeChanged |
( |
int |
w, |
|
|
int |
h, |
|
|
int |
oldw, |
|
|
int |
oldh |
|
) |
| |
|
inlineprotected |
Definition at line 107 of file SimpleBitmapView.java.
{
super.onSizeChanged(w, h, oldw, oldh);
dstRect =
new Rect(0 + getPaddingLeft(), 0 + getPaddingRight(), w - getPaddingRight(), h - getPaddingBottom());
}
void mhr.appandroid.views.SimpleBitmapView.setBitmap |
( |
Bitmap |
bitmap | ) |
|
|
inline |
void mhr.appandroid.views.SimpleBitmapView.setBitmapForeground |
( |
Paint |
paint | ) |
|
|
inline |
Paint mhr.appandroid.views.SimpleBitmapView.background |
|
protected |
Bitmap mhr.appandroid.views.SimpleBitmapView.bitmap = null |
|
protected |
Rect mhr.appandroid.views.SimpleBitmapView.dstRect = null |
|
protected |
Paint mhr.appandroid.views.SimpleBitmapView.foreground |
|
protected |
The documentation for this class was generated from the following file: