// Creating a Rect and accessing its height property Rect myRect = Rect(0, 0, 100, 200); int height = myRect.height; // Modifying a Rect's height property myRect.height = 150;These examples demonstrate how to create a Rect and access or modify its height property. The package library that commonly includes Rect objects and their properties is likely a graphics library, such as SFML or OpenGL. These libraries are often used for creating visual interfaces and games, and Rect objects are frequently used for representing shapes on screen.