set method

NPatchInfoC set(
  1. num x,
  2. num y,
  3. num width,
  4. num height,
  5. num left,
  6. num top,
  7. num right,
  8. num bottom,
  9. int layout,
)

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;
}