add
add: (Area, Area) -> ()Union with rhs.
Area.new()| Method | Returns | Description |
|---|---|---|
AreaClass.new | Area | () -> Area: The empty region. |
addadd: (Area, Area) -> ()Union with rhs.
subtractsubtract: (Area, Area) -> ()Remove rhs.
intersectintersect: (Area, Area) -> ()Keep only the overlap with rhs.
exclusiveOrexclusiveOr: (Area, Area) -> ()Keep what exactly one of the two covers.
isEmptyisEmpty: (Area) -> booleanWhether the region is empty.
newnew: (() -> Area) & ((Shape) -> Area)() -> Area: The empty region.
(Shape) -> Area: The region s encloses, under its winding rule.