clamp_to_pixel


Description:

public void clamp_to_pixel ()

Rounds the origin of this downwards to the nearest integer, and rounds the size of this upwards to the nearest integer, so that this is updated to the smallest rectangle capable of fully containing the original, fractional rectangle.

Parameters:

this

a Rect