Rect.union

機能/意味
Combining rectangles
タイプ
Rectクラスのメソッド
構文
union(r)
引数
r  Specify the rectangle object to be composited.
戻り値
Whether or not to perform synthesis
説明
 Extends the rectangle with the specified rectangle object.
 The value of the target rectangle is the larger value in the direction in which the rectangle size spreads out of the four sides of the specified rectangle object.
 Executes only if the target rectangle is not empty, not if it is empty, and returns false.
参照
Rect.isEmpty