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

Method addVertex

forge-gui-mobile/src/forge/Graphics.java:445–449  ·  view source on GitHub ↗
(float x, float y, float[] vertices, int index)

Source from the content-addressed store, hash-verified

443 }
444
445 private int addVertex(float x, float y, float[] vertices, int index) {
446 vertices[index] = adjustX(x);
447 vertices[index + 1] = adjustY(y, 0);
448 return index + 2;
449 }
450
451 public void drawfillBorder(float thickness, Color color, float x, float y, float w, float h, float cornerRadius) {
452 drawRoundRect(thickness, color, x, y, w, h, cornerRadius);

Callers 1

drawArrowMethod · 0.95

Calls 2

adjustXMethod · 0.95
adjustYMethod · 0.95

Tested by

no test coverage detected