The simplest way is just draw several Kinetic.Rect nodes on top of your image with required stroke AND transparent background (you can skip fill property or set it to rgba(0,0,0,0)).
var rect = new Kinetic.Rect({
x: 0, y: 0,
width: 100, height: 50,
stroke: 'red'
})
The simplest way is just draw several
Kinetic.Rectnodes on top of your image with required stroke AND transparent background (you can skipfillproperty or set it torgba(0,0,0,0)).