enum

Cairo::RegionOverlap

Inherits Enum / Comparable / Value / Object

Used as the return value for Region#contains_rectangle.

Constants

In = 0

The contents are entirely inside the region.

Out = 1

The contents are entirely outside the region.

Part = 2

The contents are partially inside and partially outside the region.

Instance methods

in?

Returns true if this enum value equals In

Source
out?

Returns true if this enum value equals Out

Source
part?

Returns true if this enum value equals Part

Source