No-Library (pure JS), HTML, CSS, JavaScript
This shows how you can apply a stroke on the inside/outside/center of a shape.