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.
Have you tried setVisibleRect(0, 0, 100, 100)
?
精彩评论