Package com.l2fprod.gui.region

Examples of com.l2fprod.gui.region.ImageRegion


    window.add("Center", clock);
    window.setSize(clock.getSize());

    // create an ImageRegion from the background image
    // so we can use a rounded clock
    ImageRegion region = new ImageRegion(back);
    NativeSkin.getInstance().setWindowRegion(window, region, true);

    // A clock should always be on top of other windows
    NativeSkin.getInstance().setAlwaysOnTop(window, true);
View Full Code Here


   * @param width   Description of Parameter
   * @param height  Description of Parameter
   * @return        Description of the Returned Value
   */
  public Region createRegion(Image image, int width, int height) {
    return new ImageRegion(image, width, height);
  }
View Full Code Here

TOP

Related Classes of com.l2fprod.gui.region.ImageRegion

Copyright © 2018 www.massapicom. 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.