After Effects do Stroke through effect, layer style and 'Stroke Property' in shape, text, solid, etc.
Thanks!
The cap and mitering style can only be controlled for shape layers and text outlines as is the placemenet of the stroke. However, nothing stops you to use duplicates and e.g. scale the associated masks suitably so that the illusion of an inside stroke is created even with the other effects.
Mylenium