NETRect Struct
Simple rectangle class for NET classes. More...
- Header:
#include <NETRect> - CMake:
find_package(KF6 REQUIRED COMPONENTS KWindowSystem)
target_link_libraries(mytarget PRIVATE KF6::KWindowSystem)
List of all members, including inherited members
Detailed Description
This class is a convenience class defining a rectangle as a point x,y with a size width by height. The existence of this class is to keep the implementation from being dependent on a separate framework/library;
NETRect is only used by the NET API. Usually QRect is the appropriate class for representing a rectangle.
Member Variable Documentation
NETPoint NETRect::pos
This variable holds the position of the rectangle's top left corner.
See also NETPoint
NETSize NETRect::size
This variable holds the size of the rectangle.
See also NETSize