Skip to content

Commit

Permalink
Add getBarsArray methods in the Model interface
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaasuni committed Nov 22, 2023
1 parent ac71799 commit 976fd90
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.8
2.1.1
14 changes: 14 additions & 0 deletions src/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,18 @@ public function getGrid(string $space_char = '0', string $bar_char = '1'): strin
* @return array<int, array<int, string>>
*/
public function getGridArray(string $space_char = '0', string $bar_char = '1'): array;

/**
* Get the array containing all the formatted bars coordinates
*
* @return array<int, array{float, float, float, float}>
*/
public function getBarsArrayXYXY(): array;

/**
* Get the array containing all the formatted bars coordinates
*
* @return array<int, array{float, float, float, float}>
*/
public function getBarsArrayXYWH(): array;
}

0 comments on commit 976fd90

Please sign in to comment.