Méthode | Description | |
---|---|---|
ConsoleLocationToWorld ( this point, int cellWidth, int cellHeight ) : |
Translates a console cell position to where it appears on the screen in pixels.
|
|
ToIndex ( this point, int rowWidth ) : int |
Translates an x,y position to an array index.
|
|
ToPositionMatrix ( this position, |
Creates a position matrix (in pixels) based on the position of a cell.
|
|
TranslateFont ( this point, |
Gets the cell coordinates of the targetFont based on a cell in the sourceFont.
|
|
WorldLocationToConsole ( this point, int cellWidth, int cellHeight ) : |
Translates a pixel to where it appears on a console cell.
|
public static ConsoleLocationToWorld ( this point, int cellWidth, int cellHeight ) : |
||
point | this | The current cell position. |
cellWidth | int | The width of a cell in pixels. |
cellHeight | int | The height of a cell in pixels. |
Résultat |
public static ToIndex ( this point, int rowWidth ) : int | ||
point | this | The position. |
rowWidth | int | How many columns in a row. |
Résultat | int |
public static ToPositionMatrix ( this position, |
||
position | this | The cell position. |
cellSize | The size of the cell in pixels. | |
absolutePositioning | bool | When true, indicates that the |
Résultat |
public static TranslateFont ( this point, |
||
point | this | The position of the cell in the |
sourceFont | The source font translating from. | |
targetFont | The target font translating to. | |
Résultat |
public static WorldLocationToConsole ( this point, int cellWidth, int cellHeight ) : |
||
point | this | The current world position. |
cellWidth | int | The width of a cell in pixels. |
cellHeight | int | The height of a cell in pixels. |
Résultat |