Rank: Advanced Member Groups: Member
Joined: 3/3/2008 Posts: 46 Points: 138
|
Hi,
Just wondering, it that possible to "draw frame" for imageVObject?
Example, I would like to add a photo, and I would like the photo to be inside black border, or dark blue border...
Please advice.
|
Rank: Advanced Member Groups: Administration
, Member
Joined: 1/31/2005 Posts: 380 Points: 385
|
Hi,
I can suggest you 3 ways:
Draw any border on the image itself. Easiest way, however it may be non acceptable for many reasons. Create rectangle VObject of the same size and modify it in the same way, as ImageVObject. Or you may unite it in a single CompositeVObject instance. Create your custom VObject inherited from the ImageVObject. Actually ImageVObject already stores RectangleVObject inside, which is used for internal needs. Currently it is invisible, but you can easily assign any color pen to it and get frame around the image.
Best wishes, Alex.
|