Friday, July 20, 2012

[android-developers] Re: stroke color

I'm not sure what you mean. You can call Paint.setColor() and provide an ARGB encoded integer as argument. You can use the Color class for constructing such an int with helper methods. Or you can call Paint.setARGB() for specifying the individual color channels.

If you want to draw a shape with different stroke and fill colors you could use two draw operations for that and change the Paint object's color and style in between.

On Friday, July 20, 2012 2:19:48 PM UTC-5, bob wrote:

Is there a way to set the stroke color on Paint to something different than the text color?

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate