Phoc.ColorRect.set_box

### Method

# Phoc ColorRectset_box

#### Declaration [src]

    void
    phoc_color_rect_set_box (
      PhocColorRect* self,
      PhocBox* box
    )

#### Description [src]

Sets the rectangles coordinates and size as box.

Sets property | `Phoc.ColorRect:box`

#### Parameters

`box`

  Type: `PhocBox`

  The new bounding box for this color rectangle.

  The data is owned by the caller of the method.