first commit
This commit is contained in:
commit
b344b6a03f
16 changed files with 405 additions and 0 deletions
11
Services/Utilities/TileHelper.cs
Normal file
11
Services/Utilities/TileHelper.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
namespace StitcherApi.Services.Utilities;
|
||||
|
||||
public static class TileHelper
|
||||
{
|
||||
public static string GetTileFileName(int row, int col)
|
||||
{
|
||||
string rowStr =
|
||||
row < 26 ? ((char)('A' + row)).ToString() : "A" + ((char)('A' + (row - 26)));
|
||||
return $"{rowStr}{col + 1}.png";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue