Called by PSurface objects to set the width and height variables, and update the pixelWidth and pixelHeight variables.
(int width, int height)
| 1246 | * and update the pixelWidth and pixelHeight variables. |
| 1247 | */ |
| 1248 | public void setSize(int width, int height) { |
| 1249 | this.width = width; |
| 1250 | this.height = height; |
| 1251 | pixelWidth = width * pixelDensity; |
| 1252 | pixelHeight = height * pixelDensity; |
| 1253 | } |
| 1254 | |
| 1255 | |
| 1256 | // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
nothing calls this directly
no test coverage detected