MCPcopy Create free account
hub / github.com/HumbleUI/Skija / translate

Method translate

shared/java/Canvas.java:1253–1256  ·  view source on GitHub ↗
(float dx, float dy)

Source from the content-addressed store, hash-verified

1251 }
1252
1253 @NotNull @Contract("_, _ -> this")
1254 public Canvas translate(float dx, float dy) {
1255 return concat(Matrix33.makeTranslate(dx, dy));
1256 }
1257
1258 @NotNull @Contract("_, _ -> this")
1259 public Canvas scale(float sx, float sy) {

Callers 3

drawMethod · 0.95
drawMethod · 0.45

Calls 2

concatMethod · 0.95
makeTranslateMethod · 0.95

Tested by 1

drawMethod · 0.36