Wayland_client.Wl_regionRegion interface.
A region object describes an area.
Region objects are used to describe the opaque and input regions of a surface.
type 'v t = ([ `Wl_region ], 'v, [ `Client ]) Proxy.tval subtract :
[< `V1 ] t ->
x:int32 ->
y:int32 ->
width:int32 ->
height:int32 ->
unitSubtract rectangle from region.
Subtract the specified rectangle from the region.
val add :
[< `V1 ] t ->
x:int32 ->
y:int32 ->
width:int32 ->
height:int32 ->
unitAdd rectangle to region.
Add the specified rectangle to the region.
val destroy : [< `V1 ] t -> unitDestroy region.
Destroy the region. This will invalidate the object ID.
Note: Servers will always want to use v1.
class +'a v1 : object ... endHandler for a proxy with version >= 1.