跳转到主要内容
矩形的 Y 坐标数组。
PropertyMethodDescription
Description矩形的 Y 坐标数组。
ConstructorsYCoordinateArray YCoordinateArray()构造函数。创建一个按 Y 坐标指定的空矩形数组。
MethodsVoid Add( YCoordinate )在数组末尾添加一个矩形。
Void Add( YCoordinateArray )在数组末尾追加另一个数组。
Void InsertAt( Int index, YCoordinate )在索引 index 处插入一个矩形。
Void DeleteAll()删除数组中的所有元素。
Void DeleteAt( Int index )删除索引 index 处的元素。
YCoordinate GetAt( Int index )返回指定索引的元素。
Int Count()返回数组的元素数量。
Void ShiftDown( Int index, Distance )将指定元素的坐标向下(增大)偏移。
Void ShiftUp( Int index, Distance )将指定元素的坐标向上(减小)偏移。
Void ShiftDown( Distance )将数组中所有元素的坐标向下(增大)偏移。
Void ShiftUp( Distance )将数组中所有元素的坐标向上(减小)偏移。