开发者

GWT Image Widget: Displaying only part of an image

I want to display only part of image using the GWT Image widget;

for e.g. for an image of 400X400, I wa开发者_Python百科nt to use an image widget to display only the top left 100x100 px.

GWT Image Widget: Displaying only part of an image


Have you tried setVisibleRect(0, 0, 100, 100)?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜