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

Method begin

forge-gui-mobile/src/forge/Graphics.java:94–99  ·  view source on GitHub ↗
(float regionWidth0, float regionHeight0)

Source from the content-addressed store, hash-verified

92 return shaderNightDay;
93 }
94 public void begin(float regionWidth0, float regionHeight0) {
95 batch.begin();
96 bounds = new Rectangle(0, 0, regionWidth0, regionHeight0);
97 regionHeight = regionHeight0;
98 visibleBounds = new Rectangle(bounds);
99 }
100
101 public void end() {
102 if (batch.isDrawing()) {

Callers 15

createPreviewMethod · 0.95
checkFrameBufferMethod · 0.95
renderMethod · 0.45
renderMethod · 0.45
drawLineMethod · 0.45
drawLineArrowMethod · 0.45
drawArrowMethod · 0.45
drawRoundRectMethod · 0.45
fillRoundRectMethod · 0.45
drawRectMethod · 0.45
fillRectMethod · 0.45
drawCircleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected