Is it possible to style different rings of the same polygon individually?
I have created a polygon based on business rules and user input and in some instances i need to draw an outline around that polygon depending on whether the user elects to create a safety zone around this polygon. Unfortunately this is not as simple as creating a simple buffer because the outline actually ends up being a different shape to the inner polygon. (I believe buffers will follow the shape of the polygon they buffer exactly? Please correct me if i'm wrong!)
The outline polygon needs to be red, regardless of the colour selected by the user (using colorpicker) for the inner polygon.
I know I could easily do this as 2 separate graphics (because I've done it). The problem is the user needs to be able to select the shape on screen and drag it around, so it would be easier to handle the polygons as one individual graphic within the graphics layer.
Has anyone got any ideas please? Is this possible without using 2 different graphics?