Rectangle

  • C#

更新时间不可用

目标区域相对于整个屏幕或窗口的位置,如不填,则表示整个屏幕或窗口。

C#
public class Rectangle
    {
        public Rectangle()
        {
        }

        public Rectangle(int x, int y, int width, int height)
        {
            this.x = x;
            this.y = y;
            this.width = width;
            this.height = height;
        }
        public int x { set; get; }
        public int y { set; get; }
        public int width { set; get; }
        public int height { set; get; }
    }

属性

参数名描述
x

左上角的横向偏移。

y

左上角的纵向偏移。

width

目标区域的宽度。

height

目标区域的高度。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?