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