Reputation: 228
I am bound to use SVG Tiny as it is the only version supported by the browser. How can I achieve an effect similar to overflow: hidden
in this version (I have to implement a scrolling effect).
Upvotes: 0
Views: 168
Reputation: 60966
Structure your content so that you draw the scrolling stuff first, then draw other things on top so that it looks clipped. Note that this can be expensive if the things on top are complex to draw, so for the things that cover the parts you don't want to see I'd recommend one or more solid color rects.
Upvotes: 1