Class ShapeBase
Abstract representation of a shape.
Inheritance
System.Object
ShapeBase
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public abstract class ShapeBase : IEnumerable<Coordinate>
Properties
Count
Returns the number of coordinates in this shape.
Declaration
public abstract int Count { get; }
Property Value
|
System.Int32
|
Item[Int32]
Gets the coordinate at the given index.
Declaration
public abstract Coordinate this[int i] { get; }
Parameters
|
System.Int32
i
|
Property Value
|
Coordinate
|
Methods
GetEnumerator()
Gets the enumerator.
Declaration
public IEnumerator<Coordinate> GetEnumerator()
Returns
|
IEnumerator<Coordinate>
|
Reverse()
Returns the same shape but with the order of the coordinates reversed.
Declaration
public abstract ShapeBase Reverse()
Returns
|
ShapeBase
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Gets the enumerator.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
|