+
Point of view
ANY
expanded class RECT
Summary
Class invariant
Overview
exported features
writable attribute
writable attribute
width: INTEGER_32
writable attribute
height: INTEGER_32
writable attribute
make (new_x: INTEGER_32, new_y: INTEGER_32, new_width: INTEGER_32, new_height: INTEGER_32)
effective procedure
Initialize all values at the same time.
set_x (new_x: INTEGER_32)
effective procedure
set_y (new_y: INTEGER_32)
effective procedure
move_to (new_x: INTEGER_32, new_y: INTEGER_32)
effective procedure
Move the rectangle origin to (new_x, new_y) point.
offset (dx: INTEGER_32, dy: INTEGER_32)
effective procedure
Move the rectangle origin by dx and dy offsets (delta).
resize (new_width: INTEGER_32, new_height: INTEGER_32)
effective procedure
Change the rectangle size to new_width x new_height
inflate (dw: INTEGER_32, dh: INTEGER_32)
effective procedure
Change width by dw value and height by dh value (delta).
set_empty
effective procedure
is_empty: BOOLEAN
effective function
intersect (other: RECT): RECT
effective function
Return the area common to Current with other.
intersect_def (ox: INTEGER_32, oy: INTEGER_32, ow: INTEGER_32, oh: INTEGER_32): RECT
effective function
Same as intersect with other given by it's values rather than a RECT object.
union (other: RECT): RECT
effective function
Return the smallest rectangle containing Current and other.
contain (point_x: INTEGER_32, point_y: INTEGER_32): BOOLEAN
effective function
Does the point belongs to the rectangle?
include (point_x: INTEGER_32, point_y: INTEGER_32): BOOLEAN
effective function
Does the point belongs to the rectangle?