- Source
Classes
- ArrowFactory
- CircleFactory
- EllipseFactory
- FreeHandFactory
- ProtractorFactory
- RectangleFactory
- RoiFactory
- RulerFactory
Members
(static) debug
Debug flag.
- Source
(static) defaultArrowLabelText
Default draw label text.
- Source
(static) defaultCircleLabelText
Default draw label text.
- Source
(static) defaultEllipseLabelText
Default draw label text.
- Source
(static) defaultFreeHandLabelText
Default draw label text.
- Source
(static) defaultProtractorLabelText
Default draw label text.
- Source
(static) defaultRectangleLabelText
Default draw label text.
- Source
(static) defaultRoiLabelText
Default draw label text.
- Source
(static) defaultRulerLabelText
Default draw label text.
- Source
Methods
(static) getDefaultAnchor(x, y, id, style) → {object}
Get the default anchor shape.
Name | Type | Description |
---|---|---|
x | number | The X position. |
y | number | The Y position. |
id | string | The shape id. |
style | object | The application style. |
- Source
The default anchor shape.
- Type:
- object
(static) getShadowCircle(circle, group) → {object}
Get the debug shadow.
Name | Type | Description |
---|---|---|
circle | dwv. | The circle to shadow. |
group | object | The associated group. |
- Source
The shadow konva group.
- Type:
- object
(static) getShadowEllipse(ellipse, group) → {object}
Get the debug shadow.
Name | Type | Description |
---|---|---|
ellipse | dwv. | The ellipse to shadow. |
group | object | The associated group. |
- Source
The shadow konva group.
- Type:
- object
(static) getShadowRectangle(rectangle) → {object}
Get the debug shadow.
Name | Type | Description |
---|---|---|
rectangle | object | The rectangle to shadow. |
- Source
The shadow konva shape.
- Type:
- object
(static) updateCircleQuantification(group, viewController)
Update the quantification of a Circle (as a static function to be used in update).
Name | Type | Description |
---|---|---|
group | object | The group with the shape. |
viewController | object | The associated view controller. |
- Source
(static) updateEllipseQuantification(group, viewController)
Update the quantification of an Ellipse (as a static function to be used in update).
Name | Type | Description |
---|---|---|
group | object | The group with the shape. |
viewController | object | The associated view controller. |
- Source
(static) updateRectangleQuantification(group, viewController)
Update the quantification of a Rectangle (as a static function to be used in update).
Name | Type | Description |
---|---|---|
group | object | The group with the shape. |
viewController | object | The associated view controller. |
- Source