-
public interface TransformInterface to support clients performing custom transformations before the current GIF Bitmap is drawn.
-
-
Method Summary
Modifier and Type Method Description abstract voidonBoundsChange(Rect bounds)Called by GifDrawable when its bounds changes by onBoundsChange and when transform is associated using setTransform. abstract voidonDraw(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
-
-
-
-