drawing-shape
Reactive icon

Drawing Shape

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 23 Mar (2 days ago)
 by 
EONE TECHNOLOGIES PRIVATE LIMITED
0.0
 (0 ratings)
drawing-shape

Drawing Shape

Details
DrawingShape is an interactive drawing component that allows users to visually mark and describe areas of discomfort or interest directly on a canvas. It supports multiple predefined shape types representing different sensations such as Aching, Burning, Cramping, Crushing, Dull, Numbness, Pins/Needles, Sharp, Stabbing, and Throbbing, along with a freehand drawing option for custom input. Users can draw, edit, and clear shapes easily using built-in controls, including a clear button to reset the canvas. The component also provides a "Save as Base64" feature, enabling the captured drawing to be converted into a Base64 string for storage, transmission, or integration with backend systems. This asset is ideal for applications like pain assessment, medical reporting, or any scenario requiring visual annotation and data capture on images.
Read more

DrawingShape is a robust and interactive canvas-based drawing component designed to capture user input visually with precision and flexibility. It enables users to annotate images or blank canvases by selecting from a variety of predefined shape types that represent different sensations or conditions, including Aching, Burning, Cramping, Crushing, Dull, Numbness, Pins/Needles, Sharp, Stabbing, and Throbbing. In addition, a freehand drawing mode allows users to create custom shapes for more accurate and personalized input.

The component provides an intuitive user interface for selecting shape types and drawing directly on the canvas. Each shape can be visually distinguished, making it suitable for use cases such as pain mapping, medical assessments, body diagrams, or any application requiring categorized visual annotations.

DrawingShape includes essential controls such as a Clear button to remove all drawn elements and reset the canvas, ensuring a smooth user experience during repeated interactions. It also features a Save as Base64 functionality, which converts the current canvas content into a Base64-encoded string. This allows seamless storage, transmission, and integration with backend systems, APIs, or databases without needing file uploads.

The component is built using JavaScript and leverages HTML5 Canvas for high-performance rendering and real-time interaction. It supports dynamic updates, event handling, and easy integration into web applications, including platforms like OutSystems.

Overall, DrawingShape provides a scalable and efficient solution for capturing structured visual input, enhancing user engagement, and enabling accurate data collection in both clinical and non-clinical environments.

Release notes (1.0.0)
License (1.0.0)
Reviews (0)
Team
Other assets in this category