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

表示一个形状段。段是连接两个点的直线或曲线。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [ShapeSegment()](#ShapeSegment--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getStartPoint()](#getStartPoint--) | 获取起始点。 |
| [getEndPoint()](#getEndPoint--) | 获取结束点。 |
### ShapeSegment() {#ShapeSegment--}
```
public ShapeSegment()
```


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


获取起始点。

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


获取结束点。

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