setSubClip method

void setSubClip(
  1. num x,
  2. num y,
  3. num width,
  4. num height,
)

Sets clip merging the passed coordinates with the previous clip.

Implementation

void setSubClip(num x, num y, num width, num height) =>
    subClip = PRectangle(x, y, width, height);