x4Trace Documentation v1.0
Loading...
Searching...
No Matches
IGraphics.Drawing2D.Shape2DCollection Class Reference

Collection of Shape2D items. More...

Public Member Functions

 Shape2DCollection ()
 Constructor.
 
void Add (IShape2D shape)
 Adds drawitem.
 
void AddRange (List< IShape2D > shapeList)
 Adds list of items.
 
void Remove (IShape2D shape)
 Removes drawitem.
 
int IndexOf (IShape2D shape)
 Returns the index of item.
 
void Insert (int index, IShape2D shape)
 Inserts the item at index.
 
void RemoveAt (int index)
 Removes item at index.
 
void Clear ()
 Clears the items.
 
void Sort ()
 Sorts the elements.
 

Public Attributes

List< IShape2Delements = new List<IShape2D>()
 List of items.
 

Properties

IShape2D this[int index] [get, set]
 Indexer of items.
 
int Count [get]
 Count of elements.
 
List< IShape2DElements [get]
 The element list.
 

Detailed Description

Collection of Shape2D items.

Member Function Documentation

◆ Add()

void IGraphics.Drawing2D.Shape2DCollection.Add ( IShape2D shape)

Adds drawitem.

Parameters
shapeThe item.

◆ AddRange()

void IGraphics.Drawing2D.Shape2DCollection.AddRange ( List< IShape2D > shapeList)

Adds list of items.

Parameters
shapeListList of items.

◆ IndexOf()

int IGraphics.Drawing2D.Shape2DCollection.IndexOf ( IShape2D shape)

Returns the index of item.

Parameters
shapeThe item.
Returns
Index.

◆ Insert()

void IGraphics.Drawing2D.Shape2DCollection.Insert ( int index,
IShape2D shape )

Inserts the item at index.

Parameters
indexIndex at.
shapeThe item.

◆ Remove()

void IGraphics.Drawing2D.Shape2DCollection.Remove ( IShape2D shape)

Removes drawitem.

Parameters
shapeThe item.

◆ RemoveAt()

void IGraphics.Drawing2D.Shape2DCollection.RemoveAt ( int index)

Removes item at index.

Parameters
indexIndex.

Property Documentation

◆ this[int index]

IShape2D IGraphics.Drawing2D.Shape2DCollection.this[int index]
getset

Indexer of items.

Parameters
indexItem at index.
Returns
The item.

The documentation for this class was generated from the following file: