mirror of
https://gitee.com/antv/g6.git
synced 2024-12-03 04:08:32 +08:00
87 lines
1.0 KiB
Markdown
87 lines
1.0 KiB
Markdown
---
|
|
title: Line
|
|
order: 4
|
|
---
|
|
|
|
## 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
|
|
|
|
**Description**: Marker at the start point
|
|
|
|
## markerEnd
|
|
|
|
**Type**: `DisplayObject`
|
|
|
|
**Default**: `null`
|
|
|
|
**Required**: false
|
|
|
|
**Description**: Marker at the end point
|
|
|
|
## markerStartOffset
|
|
|
|
**Type**: `number`
|
|
|
|
**Default**: `0`
|
|
|
|
**Required**: false
|
|
|
|
**Description**: The offset of the start marker
|
|
|
|
## markerEndOffset
|
|
|
|
**Type**: `number`
|
|
|
|
**Default**: `0`
|
|
|
|
**Required**: false
|
|
|
|
**Description**: The offset of the end marker
|
|
|
|
<embed src="../../common/BaseStyleProps.en.md"></embed>
|