Paul Boddington
Paul Boddington

Reputation: 37645

What does current clip mean?

The page for Canvas in the android developers guide refers to the "current clip" 72 times, but I can't find where it says what this actually means. Can someone explain? Thanks

Upvotes: 1

Views: 146

Answers (1)

Michael Krause
Michael Krause

Reputation: 4849

The current clip determines where draws to the canvas will be allowed, and where they will be ignored.

Drawing within the current clip region will be applied to the canvas, while drawing outside of the current clip region will not be applied to the canvas.

Upvotes: 2

Related Questions