Ulrich-Matthias Schäfer

Results 579 comments of Ulrich-Matthias Schäfer

It depends on their structure. But not sure right now

@pragdave sorry for the long delay. Here is what I came up with: https://codepen.io/fuzzyma/pen/LYjXqPv ```js const t = canvas.text('Hello World').amove(100, 100) t.animate().opacity(0).animate(0).queue(() => t.text('asd')).animate().opacity(1) ``` It boils down to 3...

This was done to separate transforms from simple movement. Now you can rely on the fact that a move command will move the bounding box of the object as well...

Alright, seems like an error in the d.ts file. Can you provide corrected typings?

Nice! You mean autocompletion for supported strings?

Well since originX and Y is only a number you are not getting anything special here. And for the origin case: Any combination of `'topleft'`, `'top left'`, `'top-left'`, `'left_top'` or...

> There is also a problem with the transformation when position is set to y=0 (in the above example, if you try to set the position.y to 0 for the...

Wow nice catch! Thats a huge bug. Origin can be passed as `ox, oy`, `originX, originY`, `[ox, oy]`, `{x: ox, y: oy}` and as string. That means that basically only...

Yes ofc you are correct. Looks like I have to set beside some time for fixing all these good issues popping up. Hope I get it fixed soon enough!

So here is what I came up with: ```js /** * This function adds support for string origins. * It searches for an origin in o.origin o.ox and o.originX. *...