PhRect

PhRect — A rectangular area defined by two points.

Synopsis

class PhRect
{
    lr;    // PhPoint
    ul;    // PhPoint
}
		

Description

This class defines a rectangular area by the upper left (ul) and lower right (lr) corner points. The position of both points is relative to the upper left-hand corner of the containing widget. The units of all measurements are pixels.

Also see PhRect in the Photon documentation.

Instance Variables

lr

A PhPoint specifying the lower right corner of the rectangular area.

ul

A PhPoint specifying the upper left corner of the rectangular area.