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

Method drawArrow

forge-gui-mobile/src/forge/Graphics.java:383–385  ·  view source on GitHub ↗
(float borderThickness, float arrowThickness, float arrowSize, FSkinColor skinColor, float x1, float y1, float x2, float y2)

Source from the content-addressed store, hash-verified

381 }
382
383 public void drawArrow(float borderThickness, float arrowThickness, float arrowSize, FSkinColor skinColor, float x1, float y1, float x2, float y2) {
384 drawArrow(borderThickness, arrowThickness, arrowSize, skinColor.getColor(), x1, y1, x2, y2);
385 }
386
387 public void drawArrow(float borderThickness, float arrowThickness, float arrowSize, Color color, float x1, float y1, float x2, float y2) {
388 batch.end(); //must pause batch while rendering shapes

Callers

nothing calls this directly

Calls 10

alphaColorMethod · 0.95
addVertexMethod · 0.95
startShapeMethod · 0.95
adjustXMethod · 0.95
adjustYMethod · 0.95
endShapeMethod · 0.95
getColorMethod · 0.65
endMethod · 0.45
setColorMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected