Rect.setSize
機能/意味
Set rectangle size
タイプ
Rectクラス
のメソッド
構文
setSize(
width
,
height
)
引数
width
Specifies the width of the rectangle.
This value can also be obtained and set using the
Rect.width
property.
height
Specifies the height of the rectangle.
This value can also be obtained and set using the
Rect.height
property.
戻り値
なし (void)
説明
Specify the rectangle size.