Region.equal

Compares whether region_a is equivalent to region_b. null as an argument is equal to itself, but not to any non-null region.

Parameters

b cairo.region.Region

a #cairo_region_t or null

Return Value

Type: cairo.types.Bool

true if both regions contained the same coverage, false if it is not or any region is in an error status.