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

Method startShape

forge-gui-mobile/src/forge/Graphics.java:717–723  ·  view source on GitHub ↗
(ShapeType shapeType)

Source from the content-addressed store, hash-verified

715 }
716
717 private void startShape(ShapeType shapeType) {
718 if (!Dtransforms.isEmpty()) {
719 //must copy matrix before starting shape if transformed
720 shapeRenderer.setTransformMatrix(batch.getTransformMatrix());
721 }
722 shapeRenderer.begin(shapeType);
723 }
724
725 private void endShape() {
726 shapeRenderer.end();

Callers 11

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

Calls 2

isEmptyMethod · 0.65
beginMethod · 0.45

Tested by

no test coverage detected