rommex rommex - 1 year ago 115
Javascript Question

Horizontally scaled font via drawText?

Is there an elegant way to put text in canvas via drawText, so that it is squeezed horizontally/vertically?

Answer Source

"Elegant?, Well...Kind of yes!"

You can scale the canvas horizontally and the text will be squeezed.


enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download