fetchBoundingBoxPositions

abstract fun fetchBoundingBoxPositions(): Set<Position>

Creates a list of Positions which represent the bounding box of this size. So for example a size of (3x3) will have a bounding box of [(0, 0), (1, 0), (2, 0), (0, 1), (2, 1), (0, 2), (1, 2), (2, 2)]

Sources

(source)
Link copied to clipboard