Sprite::setWidth() Syntax Java Parameters Return Sprite::setWidth() Sets the width of the sprite. Syntax Java .setWidth(width) Parameters Name Data Type Description width double a width in pixels Return void setWidth()