isContain method

bool isContain(
  1. PrinterOffset offset
)

Implementation

bool isContain(PrinterOffset offset) {
  return this.left < offset.x! && this.top < offset.y!
        && this.right > offset.x! && this.bottom > offset.y!;
}