struct P1::ImageSdk::Rect

A rectangular area defined on any 2D Cartesian coordinate system defined by its top left corner and size.

#include <P1ImageRect.hpp>

struct Rect:
    public P1::ImageSdk::Point,
    public P1::ImageSdk::Size
{
    // construction

    Rect();
    Rect(int32_t x, int32_t y, int32_t w, int32_t h);

    // methods

    std::string ToString() const;
};

Inherited Members

public:
    // fields

    int32_t x;
    int32_t y;
    int32_t width;
    int32_t height;

    // methods

    std::string ToString() const;
    std::string ToString() const;