2023-11-10 18:51:21 +08:00
|
|
|
---
|
2023-11-10 22:11:33 +08:00
|
|
|
title: Line
|
|
|
|
order: 4
|
2023-11-10 18:51:21 +08:00
|
|
|
---
|
|
|
|
|
|
|
|
## x1
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
|
|
|
**Description**: The x coordinate of the start point
|
|
|
|
|
|
|
|
## y1
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
|
|
|
**Description**: The y coordinate of the start point
|
|
|
|
|
|
|
|
## x2
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
|
|
|
**Description**: The x coordinate of the end point
|
|
|
|
|
|
|
|
## y2
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
|
|
|
**Description**: The y coordinate of the end point
|
|
|
|
|
|
|
|
## markerStart
|
|
|
|
|
|
|
|
**Type**: `DisplayObject`
|
|
|
|
|
|
|
|
**Default**: `null`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
2023-11-10 19:36:05 +08:00
|
|
|
**Description**: Marker at the start point
|
2023-11-10 18:51:21 +08:00
|
|
|
|
|
|
|
## markerEnd
|
|
|
|
|
|
|
|
**Type**: `DisplayObject`
|
|
|
|
|
|
|
|
**Default**: `null`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
2023-11-10 19:36:05 +08:00
|
|
|
**Description**: Marker at the end point
|
2023-11-10 18:51:21 +08:00
|
|
|
|
|
|
|
## markerStartOffset
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
2023-11-10 19:36:05 +08:00
|
|
|
**Description**: The offset of the start marker
|
2023-11-10 18:51:21 +08:00
|
|
|
|
|
|
|
## markerEndOffset
|
|
|
|
|
|
|
|
**Type**: `number`
|
|
|
|
|
|
|
|
**Default**: `0`
|
|
|
|
|
|
|
|
**Required**: false
|
|
|
|
|
2023-11-10 19:36:05 +08:00
|
|
|
**Description**: The offset of the end marker
|
2023-11-10 18:51:21 +08:00
|
|
|
|
2023-11-10 19:36:05 +08:00
|
|
|
<embed src="../../common/BaseStyleProps.en.md"></embed>
|