
## ShapeSegmentPathCollection class

Represents a creation path consisting of a series of moves, lines and curves that when combined will form a geometric shape.

## Constructors

| Name | Description |
| --- | --- |
| [ShapeSegmentPathCollection](#constructor) |  |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [Count](#count) | int |  |
| [Item (int)](#itemint) | ShapeSegmentPath | Gets ShapeSegmentPath object. |

## Methods

| Name | Description |
| --- | --- |
| [add](#add) | Add a segment path in creation path. |
| [clear](#clear) |  |
| [removeAt](#removeat) |  |
| [iterator](#iterator) |  |
| [get](#get) | Reserved for internal use. |
| [contains](#contains) | Reserved for internal use. |
| [indexOf](#indexof) | Reserved for internal use. |

### ShapeSegmentPathCollection() {#constructor}

### ShapeSegmentPathCollection.Count property {#count}

**Type:** int

### ShapeSegmentPathCollection.Item (int) property {#itemint}

Gets ShapeSegmentPath object.

**Type:** ShapeSegmentPath

### add(type) (1 of 2) {#add}

Add a segment path in creation path.

| Parameter | Type | Description |
| --- | --- | --- |
| type | int | A ShapePathType value. The path type. |

**Returns:** Returns the position of ShapeSegmentPath object in the list.

---

### add(value) (2 of 2) {#add-1}

Reserved for internal use.

### clear() {#clear}

### removeAt(index) {#removeat}

### iterator() {#iterator}

### get(index) {#get}

Reserved for internal use.

### contains(value) {#contains}

Reserved for internal use.

### indexOf(value) {#indexof}

Reserved for internal use.
