Region.intersectRegion

Returns the intersection between region1 and region2.

region1 and region2 are not modified.

class Region
intersectRegion

Parameters

region2 gtksource.region.Region

a #GtkSourceRegion, or null.

Return Value

Type: gtksource.region.Region

the intersection as a #GtkSourceRegion object.