drawImage(xobject, 0, 0, desiredPhysicalWidth, desiredPhysicalHeight); contentStream.restoreGraphicsState(); } private float calculatePositionX( PDRectangle pageSize, int position, float contentWidth, PDFont fon
drawImage(clockFace, null, 0, 0); drawSecond(graphics); drawMinute(graphics); drawHour(graphics); } //parametry wskazówki sekund private void drawSecond(Graphics2D graphics){ int seconds = systemTime.get(Calendar.SECOND);//pobieranie sekund z kalendarza int secondsAngle = seconds*6;//usta...