is there a short hand way to reassign a point in 1 line?
something like:
var p:Point= new Point(0,4);
p= [5, 10]; // doesn't work
i know you can just say
p.x=10;p.y=40;
but when auto formatting it will drop it down to 2 lines
is there a short hand way to reassign a point in 1 line?
something like:
var p:Point= new Point(0,4);
p= [5, 10]; // doesn't work
i know you can just say
p.x=10;p.y=40;
but when auto formatting it will drop it down to 2 lines
:: Copyright KIRUPA 2024 //--