Package org.freedesktop.wayland.server
Interface WlRegionRequests
public interface WlRegionRequests
region interface
A region object describes an area.
Region objects are used to describe the opaque and input regions of a surface.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(WlRegionResource requester, int x, int y, int width, int height) add rectangle to regionvoid
destroy
(WlRegionResource requester) destroy regionvoid
subtract
(WlRegionResource requester, int x, int y, int width, int height) subtract rectangle from region
-
Field Details
-
VERSION
static final int VERSION- See Also:
-
-
Method Details
-
destroy
destroy regionDestroy the region. This will invalidate the object ID.
- Parameters:
requester
- The protocol object that made the request.
-
add
add rectangle to regionAdd the specified rectangle to the region.
- Parameters:
requester
- The protocol object that made the request.x
- region-local x coordinatey
- region-local y coordinatewidth
- rectangle widthheight
- rectangle height
-
subtract
subtract rectangle from regionSubtract the specified rectangle from the region.
- Parameters:
requester
- The protocol object that made the request.x
- region-local x coordinatey
- region-local y coordinatewidth
- rectangle widthheight
- rectangle height
-