set method

NPatchInfoD set(
  1. RectangleD source,
  2. num left,
  3. num top,
  4. num right,
  5. num bottom,
  6. 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;
}