Fill region🔗

Replaces pixels inside a rectangle with a constant color.

Inputs🔗

  • image: Input image.

  • frame: A :ref:coordinate frame <engine/world-coordinates:coordinate-frames> for the rectangle in the world coordinate system.

  • size: The size of the rectangle. If size is undefined (either width or height is NAN), all pixels in the image wíll be replaced with fillColor.

  • color: Color with which the pixels inside the rectangle will be replaced.

Outputs🔗

  • image: output image.