Wl_region.v1
Handler for a proxy with version >= 1.
constraint 'a = [< `V1 ]
method private virtual on_destroy : [> `V1 ] t -> unit
Destroy region.
Destroy the region. This will invalidate the object ID.
method private virtual on_add : [> `V1 ] t ->
x:int32 ->
y:int32 ->
width:int32 ->
height:int32 ->
unit
Add rectangle to region.
Add the specified rectangle to the region.
method private virtual on_subtract : [> `V1 ] t ->
x:int32 ->
y:int32 ->
width:int32 ->
height:int32 ->
unit
Subtract rectangle from region.
Subtract the specified rectangle from the region.