import {LineDrawer} from 'igeom/src/app/components/line-component/drawers/line-drawer.js'
LineDrawer
Extends:
Static Method Summary
Static Public Methods | ||
public static |
drawKonvaLine(pointA: *, pointB: *): * |
|
public static |
getKonvaLine(pointA: *, pointB: *, useLabel: *): * |
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
label: * |
|
public |
lineSegment: * |
Method Summary
Public Methods | ||
public |
drawByLineSegment(lineSegment: *) |
|
public |
drawByPoints(points: *, aggregators: *) |
|
public |
drawByStates(konvaObject: *) |
|
public |
update(aggregator: *, e: *) |
Inherited Summary
From class Drawer | ||
public static |
drawObject(object: *) |
|
public static |
getKonvaGroup(draggable: *): * |
|
public static |
setMaxIndex(object: *) |
|
public static |
|
|
public |
|
|
public |
|
|
public |
elementClass: * |
|
public |
konvaObject: * |
|
public |
state: * |
|
public |
states: *[] |
|
public |
addAction(action: *) |
|
public |
addAggregator(aggregator: *) |
|
public |
|
|
public |
clear() |
|
public |
|
|
public |
draw(object: *) |
|
public |
|
|
public |
reset() |
|
public |
setElementClass(elementClass: *) |
|
public |
setKonvaObject(konvaObject: *) |
|
public |
setState(state: *) |
|
public |
setStatus(status: *) |
|
public |
update(aggregator: *, event: *) |
From class SelectableDrawer | ||
public static |
setSelectable(konvaObject: *): * |
|
public static |
setSelectableIfIntersectionChanged(konvaObject: *): * |
|
public static |
setSelectableIfSelectorChanged(konvaObject: *): * |
From class LineSegmentDrawer | ||
public static |
|
|
public static |
|
|
public static |
drawKonvaLine(pointA: *, pointB: *): * |
|
public static |
getKonvaLine(pointA: *, pointB: *, useLabel: *): * |
|
public static |
getKonvaText(lineSegment: *, label: *): * |
|
public |
aggregatorA: * |
|
public |
aggregatorB: * |
|
public |
label: * |
|
public |
lineSegment: * |
|
public |
pointA: * |
|
public |
pointB: * |
|
public |
pointDrawer: * |
|
public |
|
|
public |
draw(e: *) |
|
public |
drawByLineSegment(lineSegment: *) |
|
public |
drawByPoints(points: *, aggregators: *) |
|
public |
drawByStates(konvaObject: *) |
|
public |
insertPoint(aggregator: *) |
|
public |
resolveAggregators(points: *, aggregators: *, selected: *): * |
|
public |
setAggregatorA(aggregator: *) |
|
public |
setAggregatorB(aggregator: *) |
|
public |
setPointA(point: *) |
|
public |
setPointB(point: *) |
|
public |
update(aggregator: *, e: *) |
Static Public Methods
public static drawKonvaLine(pointA: *, pointB: *): * source
Override:
LineSegmentDrawer#drawKonvaLineParams:
Name | Type | Attribute | Description |
pointA | * | ||
pointB | * |
Return:
* |
public static getKonvaLine(pointA: *, pointB: *, useLabel: *): * source
Override:
LineSegmentDrawer#getKonvaLineParams:
Name | Type | Attribute | Description |
pointA | * | ||
pointB | * | ||
useLabel | * |
Return:
* |
Public Constructors
Public Members
Public Methods
public drawByLineSegment(lineSegment: *) source
Override:
LineSegmentDrawer#drawByLineSegmentParams:
Name | Type | Attribute | Description |
lineSegment | * |
public drawByPoints(points: *, aggregators: *) source
Override:
LineSegmentDrawer#drawByPointsParams:
Name | Type | Attribute | Description |
points | * | ||
aggregators | * |
public drawByStates(konvaObject: *) source
Override:
LineSegmentDrawer#drawByStatesParams:
Name | Type | Attribute | Description |
konvaObject | * |
public update(aggregator: *, e: *) source
Override:
LineSegmentDrawer#updateParams:
Name | Type | Attribute | Description |
aggregator | * | ||
e | * |