Founded ‘.source’ was ‘undefined’, And ‘.sourceWidth’ was 0 when always.
I should know source image’s size. this is that for ‘nine patch’.
This is my code
const tempImage = new BGUI.Image('panel', ref );
const tempImageWidth = tempImage.sourceWidth;
const tempImageHeight = tempImage.sourceHeight;
console.log(tempImage.source, ':', tempImageWidth, '/', tempImageHeight);
tempImage.stretch = BGUI.Image.STRETCH_NINE_PATCH;
tempImage.sliceTop = slicePxSize;
tempImage.sliceLeft = slicePxSize;
tempImage.sliceBottom = tempImageHeight - slicePxSize;
tempImage.sliceRight = tempImageWidth - slicePxSize;
tempItem = tempImage;
And this is PG ref : https://www.babylonjs-playground.com/#G5H9IN#10
Point is 53 - 63 lines.
Plz & Thank you! 
