GeometryCombineMode
enum · ferroui-base · v0.5.0
enum GeometryCombineMode
Specifies the different methods by which two geometries can be combined.
Members
Union
Union = 0
The two regions are combined by taking the union of both. The resulting geometry is geometry A + geometry B.
Intersect
Intersect = 1
The two regions are combined by taking the intersection of both. The new area consists of the overlapping region between the two geometries.
Xor
Xor = 2
The two regions are combined by taking the area that exists in the first region but not the second and the area that exists in the second region but not the first. The new region consists of (A-B) + (B-A), where A and B are geometries.
Exclude
Exclude = 3
The second region is excluded from the first. Given two geometries, A and B, the area of geometry B is removed from the area of geometry A, producing a region that is A-B.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeResourceKeyObjectPropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneCopyDebugDefaultStructuralPartialEqPartialEqEqHashMarkupTypedValueTypeRegistration
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.