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

Method drawOutlinedText

forge-gui-mobile/src/forge/Graphics.java:1536–1538  ·  view source on GitHub ↗
(String text, FSkinFont skinFont, Color textColor, Color outlineColor, float x, float y, float w, float h, boolean wrap, int horzAlignment, boolean centerVertically)

Source from the content-addressed store, hash-verified

1534
1535 //use nifty trick with multiple text renders to draw outlined text
1536 public void drawOutlinedText(String text, FSkinFont skinFont, Color textColor, Color outlineColor, float x, float y, float w, float h, boolean wrap, int horzAlignment, boolean centerVertically) {
1537 drawOutlinedText(text, skinFont, textColor, outlineColor, x, y, w, h, wrap, horzAlignment, centerVertically, false);
1538 }
1539
1540 public void drawOutlinedText(String text, FSkinFont skinFont, Color textColor, Color outlineColor, float x, float y, float w, float h, boolean wrap, int horzAlignment, boolean centerVertically, boolean shadow) {
1541 if (shadow) {

Callers 5

drawAvatarMethod · 0.80
drawMethod · 0.80
drawCardWithOverlaysMethod · 0.80
drawPtBoxMethod · 0.80
drawCardImageMethod · 0.80

Calls 1

drawTextMethod · 0.95

Tested by

no test coverage detected