136
Views
8
Comments
[DrawingCanvas] About adding figures and images
drawingcanvas
Reactive icon
Forge asset by REQWARE
Application Type
Reactive

I'm sorry again.

It may not be a generic feature, but is it possible to add two features?

One is to add "x" as a figure.

The other is to decide on an image internally, add an icon, and draw the determined image in the same way as a figure when clicked.

UserImage.jpg
Sadanobu Kodan

All objects such as shapes and images on the canvas can be represented by json text. Therefore, I would like to develop an API or action that adds an object by specifying json anywhere on the canvas.

This makes it possible to add figures such as “x”.

Do you agree with this idea?

UserImage.jpg
yuhara yuuya

thank you.

Please use that idea.


One more feature

Is it possible to add an icon to draw the internally determined image as shown in the figure?

UserImage.jpg
Sadanobu Kodan

If I understand your request correctly, it should be resolved in the following ways.

I'm developing to make each button a web block so that you can freely customize the buttons on the toolbar.

This will allow you to create your favorite button.


You will be able to place an "X" object like the one in the attachment.

Try upload the file  to Canvas.

X2022-02-15.fab
UserImage.jpg
yuhara yuuya

this is

Because it overwrites "GetDrawingById.List.Current.Drawing.Data"

I think that other things described on Canvas will disappear.


I want to add the ability to click the icon like any other shape and draw an "x" or an image.

UserImage.jpg
Sadanobu Kodan

Yes, this is just an "X" sample, and I plan to allow you to paste only this object to the mouse click point. 

This customizable button takes json as an input parameter, so you can paste any object.

Is my understanding correct?

UserImage.jpg
yuhara yuuya

I'm sorry.

I understand.


There is no problem with that recognition.

UserImage.jpg
Sadanobu Kodan

Enabled to customize the toolbar buttons.

Please Check the documentation for more details.

https://www.outsystems.com/forge/Component_Documentation.aspx?ProjectId=11860&ProjectName=drawingcanvas

UserImage.jpg
yuhara yuuya

Sorry for the late contact.

confirmed. thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.