Niclas
Niclas

Reputation: 21

Drawable image in GWT

I need to be able to draw lines on top of an Image in GWT. Anyone knowing about a way to do this?

BR

Niclas

Upvotes: 0

Views: 251

Answers (2)

stan229
stan229

Reputation: 2607

See the GWTCanvas project part of the GWT Incubator

GWTCanvas

You can draw images and then draw lines over the image on the canvas.

Upvotes: 1

Zwik
Zwik

Reputation: 654

This should do the trick :

Create a simplePanel with height = 0px and the width you want, then assign it a style that say its border are black and have a size of 2px.

Upvotes: 0

Related Questions