Class ShapeList
Assembly: DesignData.SDS2.Setup.dll
Syntax
public class ShapeList : IEnumerable<Shape>, IEnumerable
Constructors
ShapeList()
Declaration
ShapeList(ShapeList)
Declaration
public ShapeList(ShapeList other)
Parameters
ShapeList(IEnumerable<Shape>)
Declaration
public ShapeList(IEnumerable<Shape> c)
Parameters
ShapeList(IEnumerable)
Declaration
public ShapeList(IEnumerable c)
Parameters
ShapeList(int)
Declaration
public ShapeList(int capacity)
Parameters
Type |
Name |
Description |
int |
capacity |
|
Properties
Capacity
Declaration
public int Capacity { get; set; }
Property Value
Count
Declaration
public int Count { get; }
Property Value
IsFixedSize
Declaration
public bool IsFixedSize { get; }
Property Value
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
IsSynchronized
Declaration
public bool IsSynchronized { get; }
Property Value
this[int]
Declaration
public Shape this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
Add(Shape)
Declaration
Parameters
Type |
Name |
Description |
Shape |
x |
|
AddRange(ShapeList)
Declaration
public void AddRange(ShapeList values)
Parameters
Clear()
Declaration
CopyTo(Shape[])
Declaration
public void CopyTo(Shape[] array)
Parameters
Type |
Name |
Description |
Shape[] |
array |
|
CopyTo(Shape[], int)
Declaration
public void CopyTo(Shape[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
Shape[] |
array |
|
int |
arrayIndex |
|
CopyTo(int, Shape[], int, int)
Declaration
public void CopyTo(int index, Shape[] array, int arrayIndex, int count)
Parameters
Type |
Name |
Description |
int |
index |
|
Shape[] |
array |
|
int |
arrayIndex |
|
int |
count |
|
~ShapeList()
Declaration
GetEnumerator()
Declaration
public ShapeList.ShapeListEnumerator GetEnumerator()
Returns
GetRange(int, int)
Declaration
public ShapeList GetRange(int index, int count)
Parameters
Type |
Name |
Description |
int |
index |
|
int |
count |
|
Returns
Insert(int, Shape)
Declaration
public void Insert(int index, Shape x)
Parameters
InsertRange(int, ShapeList)
Declaration
public void InsertRange(int index, ShapeList values)
Parameters
RemoveAt(int)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
RemoveRange(int, int)
Declaration
public void RemoveRange(int index, int count)
Parameters
Type |
Name |
Description |
int |
index |
|
int |
count |
|
Repeat(Shape, int)
Declaration
public static ShapeList Repeat(Shape value, int count)
Parameters
Type |
Name |
Description |
Shape |
value |
|
int |
count |
|
Returns
Reverse()
Declaration
Reverse(int, int)
Declaration
public void Reverse(int index, int count)
Parameters
Type |
Name |
Description |
int |
index |
|
int |
count |
|
SetRange(int, ShapeList)
Declaration
public void SetRange(int index, ShapeList values)
Parameters
ToArray()
Declaration
Returns
Implements