setScale

public Unit setScale(Float scale)

Sets the scale for the dimensions of the size of the drawable resource.

Throws

scale

The new scale value.

If the scale is negative or zero.