Examples of drawRoundRectangle()


Examples of org.eclipse.swt.graphics.GC.drawRoundRectangle()

          Image closeButtonImage = getCloseButtonImage(false);
          gc.drawImage(closeButtonImage, closeButtonBounds.x, closeButtonBounds.y);
         
          newForeground = display.getSystemColor(SWT.COLOR_WIDGET_NORMAL_SHADOW);
          gc.setForeground(newForeground);
          gc.drawRoundRectangle(bounds.x, bounds.y, bounds.width - 1, bounds.height - 1, ITEM_ARC, ITEM_ARC);
         
          gc.setForeground(oldForeground);
          gc.setBackground(oldBackground);
         
          gc.setAlpha(255);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.