MCPcopy
hub / github.com/libgdx/libgdx / setScaling

Method setScaling

gdx/src/com/badlogic/gdx/scenes/scene2d/ui/Image.java:159–163  ·  view source on GitHub ↗
(Scaling scaling)

Source from the content-addressed store, hash-verified

157 }
158
159 public void setScaling (Scaling scaling) {
160 if (scaling == null) throw new IllegalArgumentException("scaling cannot be null.");
161 this.scaling = scaling;
162 invalidate();
163 }
164
165 public void setAlign (int align) {
166 this.align = align;

Callers 9

createMethod · 0.95
createMethod · 0.95
fillGroupMethod · 0.95
createMethod · 0.95
CullableActorMethod · 0.45

Calls 1

invalidateMethod · 0.65

Tested by 9

createMethod · 0.76
createMethod · 0.76
fillGroupMethod · 0.76
createMethod · 0.76
CullableActorMethod · 0.36