Segment
Extends:
src/shapes/base-shape~BaseShape → Segment
A shape to display a segment.
Member Summary
Public Members | ||
public |
$el: * |
|
public |
$leftHandler: * |
|
public |
|
|
public |
$segment: * |
Method Summary
Public Methods | ||
public |
|
|
public |
inArea(renderingContext: *, datum: *, x1: *, y1: *, x2: *, y2: *): * |
|
public |
render(renderingContext: *): * |
|
public |
update(renderingContext: *, datum: *) |
Public Members
public $el: * source
public $leftHandler: * source
public $rightHandler: * source
public $segment: * source
Public Methods
public inArea(renderingContext: *, datum: *, x1: *, y1: *, x2: *, y2: *): * source
Params:
Name | Type | Attribute | Description |
renderingContext | * | ||
datum | * | ||
x1 | * | ||
y1 | * | ||
x2 | * | ||
y2 | * |
Return:
* |
public render(renderingContext: *): * source
Params:
Name | Type | Attribute | Description |
renderingContext | * |
Return:
* |
public update(renderingContext: *, datum: *) source
Params:
Name | Type | Attribute | Description |
renderingContext | * | ||
datum | * |