The Size class represents the dimensions of a rectangle or other shape in 2D space.
Size
Size 类表示2D空间中矩形或其他形状的尺寸。
Width.
Height.
Creates an instance of Size.
创建一个 Size 实例。
高度
宽度
静态
Returns a Size instance with both width and height set to -1, indicating full screen.
Gets the screen size of the global scene.
获取全局场景的屏幕尺寸。
En
The
Size
class represents the dimensions of a rectangle or other shape in 2D space.Zh
Size
类表示2D空间中矩形或其他形状的尺寸。