set method
Implementation
NPatchInfoC set(
num x, num y, num width, num height,
num left, num top, num right, num bottom,
int layout,
) {
source.set(x, y, width, height);
this.left = left.toInt();
this.top = top.toInt();
this.right = right.toInt();
this.bottom = bottom.toInt();
this.layout = layout;
return this;
}