Hi,

Just use a Path object, that's how polygons are drawn on Android.

On Mon, Jul 20, 2009 at 7:13 PM, 孙其鹏<[email protected]> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
> ----- 原始邮件 -----
>
>
>
> 发件人: monsoon
>
>
>
>
>
> <[email protected]>
> 发送时间: 2009年7月20日 18:45
> 收件人: Android Beginners <[email protected]>
> 主题: [android-beginners] fillpolygon for Canvas?
>
>
> It seems a bit odd to me that there is no fillpolygon(...) method in
> the Canvas class?
>
> I'm a bit new to graphics on Android, but it seems I must be missing
> something here?
>
> I.e. The best I can make out is that I'll have to write my own version
> of a fillpolygon (which is a very standard sort of need), using a Path
> and moveto and lineto and drawPath???
>
> Am I heading down the right track, or have I missed some 'really
> obvious' method that named something entirely different from
> fillpolygon but does the same thing?
>
> Thanks in advance for any help:)
>
>
>
> [不包含全部原始邮件]
>
>
> >
>



-- 
Romain Guy
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to