Pages
API Documentation
On this page

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

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.