Can I capture the part of the screen?

I’d like to capture the part of the screen.
Is it possible?

I made this code↓↓↓↓↓


var renderer = new cc.RenderTexture(cc.winSize.width, cc.winSize.height, cc.Texture2D.PIXEL_FORMAT_RGBA8888);
renderer.setVirtualViewport(cc.p(0,0),cc.rect(0,0,cc.winSize.width,cc.winSize.height),cc.rect(0,0,cc.winSize.width,cc.winSize.height))
renderer.setAutoDraw(true);
renderer.beginWithClear(255, 255, 255, 0, 0, 0);
cc.director.getRunningScene().visit();
renderer.end();

fullsize capture is OK.
but I can’t capture the part of the screen.
( for example : cc.winSize.width/2, cc.winSize.height/2 )

yes you can capture any part of the screen - aslo you could customize what would be on screenshot even this is not or is visible on user screen.

thank you for reply.
My App came to do ideal movement.
I will do my best!