**Inheritance:**
java.lang.Object
```
public abstract class ShapeSegment
```

Represents a shape segment. A segment is a line or curve connecting two points.
## Constructors

| Constructor | Description |
| --- | --- |
| [ShapeSegment()](#ShapeSegment--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getStartPoint()](#getStartPoint--) | Gets the starting point. |
| [getEndPoint()](#getEndPoint--) | Gets the ending point. |
### ShapeSegment() {#ShapeSegment--}
```
public ShapeSegment()
```


### getStartPoint() {#getStartPoint--}
```
public abstract PointF getStartPoint()
```


Gets the starting point.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The starting point.
### getEndPoint() {#getEndPoint--}
```
public abstract PointF getEndPoint()
```


Gets the ending point.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The ending point.
