pixelDensity()
EnvironmentDescription
Sets the pixel density for high-DPI (HiDPI/Retina) displays.
Syntax
void pixelDensity(int d)
Parameters
| Name | Type | Description |
|---|---|---|
| d | int | pixel density (1 or 2) |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...