-
public interface Transform
Interface to support clients performing custom transformations before the current GIF Bitmap is drawn.
-
-
Method Summary
Modifier and Type Method Description abstract void
onBoundsChange(Rect bounds)
Called by GifDrawable when its bounds changes by onBoundsChange and when transform is associated using setTransform. abstract void
onDraw(Canvas canvas, Paint paint, Bitmap buffer)
Called by GifDrawable when its draw is called. -
-
Method Detail
-
onBoundsChange
abstract void onBoundsChange(Rect bounds)
Called by GifDrawable when its bounds changes by onBoundsChange and when transform is associated using setTransform.In this latter case the latest GifDrawable bounds (empty Rect if they were not set yet).
- Parameters:
bounds
- new bounds
-
-
-
-