The images are not rects. Otherwise I would know how to handle.
They are image made of various paths. For example, (knowing you are a Sketch man) if you create an image in Sketch of the letter “M” and fill it with a color, save it as an svg and then open in 4D, and then apply a stroke you will see what I mean.
I have almost 100 images that I need to modify using the images I created in Sketch, modified in a text editor to use tags, and then I dynamically change the fill color, etc.
I want to be able to apply a stroke and apply a color to the stroke. That works! BUT…
The new image will with a stroke width of 1 or more will cause the image to be clipped.
Here are three images:
1st image has no stroke - see how the image hugs the bounding box?
21224888;“Your comment here…”[/]
2nd image has no stroke - see how stroke straddles the bounding box?
21224899;“Your comment here…”[/]
3rd image has no stroke - see how stroke straddles the bounding box?
21224905;“Your comment here…”[/]
What I want is no straddling? The new image with stroke inside the viewport which happens to be the same size as the image.
Haven’t figured it out yet?