Line2D Width Curve with Texture looks weird

Godot Version

4.5.stable

Question

I have a Line2D filled a 64*64 texture:

It seems fine without width curve:
image

But with width curve:


image

It just does not scale from the center.

That seems like a known issue that is not fixed yet.

But if you need a workaround, you can have two lines with different texture (black and white line seperately) and put them on top of each other and apply the same points, width_curve etc..