Tuesday, June 28, 2011

[android-developers] Line thickness

Hey,

I've been looking around for a while now and can't really find much of
the subject. I've got a sudoku puzzle on the go to try and learn how
to use Android. The problem i have is that i want the smaller 3x3
grids to have a thin line separation the squares and a thicker line
separating the bigger grid.

I have the black colour stored in an XML file and am using:

canvas.drawLine(0, i * height, getWidth(), i * height, lineColour);

To draw a line.

Anyone now how to get thicker lines? Im sure it'll be something silly
that im over looking.

Thanks for your time.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment