DrawText Question

Any idea what's causing the Number.toLong() calls? It seems to be a significant part of drawText? Is it normal? I've tried sening in different types, e.g. double for the x and y, long for the x and y, but it's always calling Number.toLong()