它还通过极少的编程,使用相对和绝对像素定位来处理各种组件的位置。
It also handles the position of various components using relative and absolute pixel positioning with minimal programming.
所以坐标(100,75)指出在屏幕上的位置就是屏幕左边缘往里100个像素,从上往下75个像素的地方。
Thus the coordinate pair (100, 75) indicates a position on the screen that is 100 pixels inward from the left edge of the window and 75 pixels down from the top.
要访问给定位置的原始像素,可以使用 getPixel(int x, int y, pixel int[]) 方法。
To access the raw pixel for a given location the method getPixel(int x, int y, pixel int[]) can be used.
应用推荐