Clear

ShapeCollection.Clear method

Rensa alla former.

public void Clear()

Exempel


[C#]
if (shapes.Count > 0)
{
    shapes.Clear();
}

Se även