set method
NPatchInfoD
set(
- RectangleD source,
- num left,
- num top,
- num right,
- num bottom,
- NPatchLayout layout,
Implementation
NPatchInfoD set(
RectangleD source,
num left, num top, num right, num bottom,
NPatchLayout layout,
) {
this.source = source;
this.left = left.toInt();
this.top = top.toInt();
this.right = right.toInt();
this.bottom = bottom.toInt();
this.layout = layout;
return this;
}