IntersectRegion class
A region that contains the intersection of regions, i.e. all squares that are in all of the regions.
- Inheritance
-
- Object
- Region
- BoardRegion
- IntersectRegion
Constructors
-
IntersectRegion(List<
BoardRegion> regions) -
const
-
IntersectRegion.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
regions
→ List<
BoardRegion> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
BoardSize size) → BuiltRegion -
inherited
-
contains(
int file, int rank) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
squares(
BoardSize size) → Set< int> -
override
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
-
translate(
int x, int y) → IntersectRegion -
override
Operators
-
operator &(
BoardRegion other) → IntersectRegion -
override
-
operator +(
BoardRegion other) → UnionRegion -
inherited
-
operator -(
BoardRegion other) → SubtractRegion -
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator ^(
BoardRegion other) → XorRegion -
inherited