IntRect height is a property of the IntRect class in the SFML library which represents a 2D rectangle with integer coordinates. It returns the height of the rectangle in pixels.
Example:
// Create an IntRect object with position (0,0) and size (100,50) sf::IntRect rect(0, 0, 100, 50);
// Get the height of the rectangle int height = rect.height; // returns 50
This example creates an IntRect object with position (0,0) and size (100,50), then retrieves the height of the rectangle using the height property. The SFML library is necessary to use the IntRect class.
C++ (Cpp) IntRect::height - 30 examples found. These are the top rated real world C++ (Cpp) examples of IntRect::height extracted from open source projects. You can rate examples to help us improve the quality of examples.