After RT-38297 is fixed, the Region shape with centered or outer stroke will use inner stroke instead as a workaround. This helps us to avoid another computation of shape bounds with the provided stroke (with inner stroke it's much simpler) in order to compute the right scale ratio.
Prior toRT-38297, centered stroke was always used.
            
Prior to
- relates to
- 
                    JDK-8089063 Dotted Border clipped to the outside -           
- Resolved
 
-         
- 
                    JDK-8096066 Region is not properly clipped when defined by a shape -           
- Resolved
 
-         
- 
                    JDK-8089221 [Region] Stroked shapes rendered differently starting with 8u40 -           
- Closed
 
-