Font:getPixelDensity
Returns the current pixel density for the Font. The default is 1.0. Normally, this is in pixels per meter. When rendering to a 2D texture, the units are pixels.
pixelDensity = Font:getPixelDensity()
Arguments
None
Returns
Name | Type | Description |
pixelDensity | number | The current pixel density. |
See also
Font:setPixelDensity
Font