get Components Shape String
fun getComponentsShapeString(list: Collection<CoordinateComponent>, existsSlotChar: Char = '#', notExistsSlotChar: Char = '_'): String
※ This is a high cost function.
val list = CoordinateComponent.squareFill(3)
println(Converter.getComponentsShapeString(list))
// -> OUTPUT
// ###
// ###
// ###Content copied to clipboard
val list = CoordinateComponent.square(3)
println(Converter.getComponentsShapeString(list))
// -> OUTPUT
// ###
// #_#
// ###Content copied to clipboard
Return
String Shape
Since
5.0.16
Parameters
list
List of coordinates
exists Slot Char
This is a char what is used on coordinate exists. Default = #.
not Exists Slot Char
This is a char what is used on coordinate NOT exists. Default = _.