Default unit for setStrokeWidth?


Last Updated:

  1. Babigabe

    Babigabe New Member This Topic's Starter

    Joined:
    May 25, 2009
    Messages:
    2
    Likes Received:
    0
    I always thought the default unit for Paint.setStrokeWidth() (and all the other methods) would be pixels. Now that I've played around with the new SDK 1.6 for a while I think it could also be DIP. For example if I call setStrokeWidth(3) the line is three pixels wide on a HVGA display. However on WVGA800 the line seems to be 4.5 pixels wide (with anti aliasing turned on). I could not find anything about that in the documentation. Who knows more?
     

    Advertisement

Share This Page

Loading...