Android Brief Development Tutorial Viii.: Guide Bee two-dimensional graphic drawing instance function definition

Source: Internet
Author: User
Tags class definition function definition silverlight

With the previous introduction to the Android platform, you can basically start to write Android apps, and here's an example of a two-dimensional graphic that will introduce the general approach to Android development, which involves customizing the application class, extending the View,intent definition, Send messages, Data Binding (Adapter), and basic UI design. The example does not use the Android platform's own two-dimensional graphics API, but instead calls the Guide Bee two-dimensional graphics library, the Guide Bee two-dimensional graphics library graphics 2D API implements the graphics engine on the mobile platform, it can handle all kinds of basic graphics (shape) in a unified way, path Text (texts), appropriate fonts and images. The base class definition is similar to the Windows GDI + library.

All examples and Silverlight two-dimensional graphics library similar to the Silverlight guide bee two-dimensional graphics library download:

http://www.imobilebbs.com/wordpress/?p=800

Examples will provide the source code, containing the guide bee two-dimensional graphics library (free use).

Two-dimensional graphics are divided into functions as shown in the following table:

Function Example
Color Colors
Brush Pattern, gradients
Pen Lines, dashes, linecap,linejoin
Path Polys, Paths
Shape Oval, Pear, Shape2ddemo
Image Drawmap, Jumbleimage, Seethroughimage
Font Fontdemo, Fonttypes
Transform Transform
Dynamic Shape Bézier

Each function is designed as an activity, included in the androidgraphics2dapplication.

See a full set of tutorials: http://www.bianceng.cn/OS/extra/201301/35252.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.