translation property Null safety
inherited
Implementation
Vec2D get translation => Vec2D.fromValues(x, y);
inherited
Sets the position of the Node
Implementation
set translation(Vec2D pos) {
x = pos[0];
y = pos[1];
}
Vec2D get translation => Vec2D.fromValues(x, y);
Sets the position of the Node
set translation(Vec2D pos) {
x = pos[0];
y = pos[1];
}