Show / Hide Table of Contents

Class Shape

Represents a shape, a sequence of coordinates that represents the shape of an edge.

Inheritance
System.Object
ShapeBase
Shape
Inherited Members
ShapeBase.GetEnumerator()
ShapeBase.IEnumerable.GetEnumerator()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Shape : ShapeBase

Properties

Count

Returns the number of coordinates.

Declaration
public override int Count { get; }
Property Value
System.Int32

Overrides
ShapeBase.Count

Item[Int32]

Gets the coordinate at the given index.

Declaration
public override Coordinate this[int i] { get; }
Parameters
System.Int32 i

Property Value
Coordinate

Overrides
ShapeBase.Item[Int32]

Methods

Reverse()

Returns the same shape but with the order of the coordinates reversed.

Declaration
public override ShapeBase Reverse()
Returns
ShapeBase

Overrides
ShapeBase.Reverse()
Back to top Built by Itinero, MIT licensed.