DirectionSetRegion class

Inheritance
Implementers

Constructors

DirectionSetRegion(Iterable<Direction> directions)
const
DirectionSetRegion.fromJson(Map<String, dynamic> json)
factory

Properties

directions Iterable<Direction>
final
hashCode int
The hash code for this object.
no setterinherited
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) Iterable<int>
override
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override
translate(int x, int y) BoardRegion
override

Operators

operator &(BoardRegion other) IntersectRegion
inherited
operator +(BoardRegion other) UnionRegion
inherited
operator -(BoardRegion other) SubtractRegion
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator ^(BoardRegion other) XorRegion
inherited