Example usage for com.google.gwt.resources.client.impl ImageResourcePrototype ImageResourcePrototype

List of usage examples for com.google.gwt.resources.client.impl ImageResourcePrototype ImageResourcePrototype

Introduction

In this page you can find the example usage for com.google.gwt.resources.client.impl ImageResourcePrototype ImageResourcePrototype.

Prototype

public ImageResourcePrototype(String name, SafeUri url, int left, int top, int width, int height,
        boolean animated, boolean lossy) 

Source Link

Document

Only called by generated code.

Usage

From source file:com.sencha.gxt.core.client.util.IconHelper.java

License:sencha.com license

public static ImageResource getImageResource(SafeUri url, int width, int height) {
    return new ImageResourcePrototype(null, url, 0, 0, width, height, false, false);
}