- src
- The source bitmap.
- dstWidth
- The new bitmap's desired width.
- dstHeight
- The new bitmap's desired height.
- filter
- true if the source should be filtered.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if width is <= 0, or height is <= 0
Creates a new bitmap, scaled from an existing bitmap, when possible. If the specified width and height are the same as the current width and height of the source bitmap, the source bitmap is returned and no new bitmap is created.