Hello Dmitry,
thank you for you answer.
Quote:
Unfortunately there is no public sample which illustrates how to implement custom vector object. Mostly it depends on specific of functionality provided by object. If you describe what behavior you are going to implement, we will do our best to assist you with development of custom vector object.
I'v seen that in MultilayerImageEditor-Demo-application you using SolidBackgroundVObject for a own implementation for a VObject.
In the nearest time I will take a look to understand this.
Quote:
You can use RectangleVObject as placeholder in your template. When a user chooses image to load in template, you should replace placeholder with ImageVObject.
I need a composition of RectangleVObject and TextVObject. The background can be transparent too. I know that is possible to add two frames to one but I dont't like this. In my view it will be easier only to have one VObject. I can be possible that more features will come later to this object.
Quote:
Initially vector objects have the same proportions as content, for example, when you create ImageVObject, it will have the same proportions as the original image loaded into it. You can prevent users from changing proportions of vector objects. If you need to create vector object as displayed on the picture 2, the simplest way will be to create transparent bitmap of ImageVObject size, place original image to this temporary image into the needed position and create ImageVObject based on this temporary bitmap.
That's a good idea. That I will do.
Best wishes,
Mario