开发者

GWT Image Widget: Displaying only part of an image

开发者 https://www.devze.com 2023-03-12 03:24 出处:网络
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.

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

精彩评论

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