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

Method adjustY

forge-gui-mobile/src/forge/Graphics.java:1563–1565  ·  view source on GitHub ↗
(float y, float height)

Source from the content-addressed store, hash-verified

1561 }
1562
1563 public float adjustY(float y, float height) {
1564 return regionHeight - y - bounds.y - height; //flip y-axis
1565 }
1566
1567 public Color borderLining(String c) {
1568 if (c == null || "".equals(c))

Callers 15

startClipMethod · 0.95
drawLineMethod · 0.95
drawLineArrowMethod · 0.95
drawArrowMethod · 0.95
addVertexMethod · 0.95
drawRoundRectMethod · 0.95
fillRoundRectMethod · 0.95
drawRectMethod · 0.95
fillRectMethod · 0.95
drawCircleMethod · 0.95
fillCircleMethod · 0.95
fillTriangleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected