Methods
-
Get the pixel density (see: setPPI ())
Returns:
pixel density- setPPI()
See:
-
Set the pixel density unit (default: 96). The pixel density unit is used to convert logical units (e.g. centimeters) in the system into pixel units, solving the problem of inconsistent display effects at different resolutions.
Name Type Default Description PPI
Number 96
optional Unit of pixel density