BoardRegion class abstract

Inheritance
Implementers

Constructors

BoardRegion()
const
BoardRegion.file(int file)
factory
BoardRegion.fromJson(Map<String, dynamic> json)
factory
BoardRegion.lrbt(int? l, int? r, int? b, int? t)
factory
BoardRegion.rank(int rank)
factory
BoardRegion.square(int file, int rank)
factory

Properties

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
contains(int file, int rank) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
squares(BoardSize size) Iterable<int>
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
translate(int x, int y) BoardRegion
override

Operators

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