ios - SpriteKit SKLabelNode font size to pixels -


what's clean way use sklabelnode's fontsize map pixels? i'm trying place text inside box fits in fixed box proportionately.

according apple's documentation, 1 font point equal 2 pixels.

for example, 90 pixel font equal mytext.fontsize = 90 / 2


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

single sign on - Logging into Plone site with credentials passed through HTTP -