Canvas clipping rect - right/bottom edge inclusive?

Posted by Seva Alekseyev on Stack Overflow See other posts from Stack Overflow or by Seva Alekseyev
Published on 2010-06-17T17:10:04Z Indexed on 2010/06/17 17:13 UTC
Read the original article Hit count: 223

Filed under:
|

Hi all,

on Android, there's a Canvas class that represents a drawing surface. It has a clipping rect. Question - are the rect's right and bottom borders inclusive or exclusive? In other words - if the rect is (0, 0)-(10, 10), will the Canvas allow drawing in pixels at coordinates 10?

© Stack Overflow or respective owner

Related posts about android

Related posts about canvas