MCPcopy Create free account
hub / github.com/Card-Forge/forge / isWhitespace

Method isWhitespace

forge-gui-mobile/src/forge/assets/FSkinFont.java:157–167  ·  view source on GitHub ↗
(char c)

Source from the content-addressed store, hash-verified

155 return false;
156 }
157 static boolean isWhitespace (char c) {
158 switch (c) {
159 case '\n':
160 case '\r':
161 case '\t':
162 case ' ':
163 return true;
164 default:
165 return false;
166 }
167 }
168 // Expose methods from font that updates scale as needed
169 public TextBounds getBounds(CharSequence str) {
170 updateScale(); //must update scale before measuring text

Callers 6

getWrappedBoundsMethod · 0.95
getVerifiedPlayerNameMethod · 0.80
isManaCostLegalMethod · 0.80
skipWhitespaceMethod · 0.80
titleizeMethod · 0.80
capitalizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected