MCPcopy Create free account
hub / github.com/Teneted/Tenet / get

Method get

src/main/java/org/bukkit/map/MapFont.java:125–128  ·  view source on GitHub ↗

Get the value of a pixel of the character. @param row The row, in the range [0,8). @param col The column, in the range [0,8). @return True if the pixel is solid, false if transparent.

(int row, int col)

Source from the content-addressed store, hash-verified

123 * @return True if the pixel is solid, false if transparent.
124 */
125 public boolean get(int row, int col) {
126 if (row < 0 || col < 0 || row >= height || col >= width) return false;
127 return data[row * width + col];
128 }
129
130 /**
131 * Get the width of the character sprite.

Callers 1

drawTextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected