Today, I learned the paint class and decided to start learning from the source code.
First, let's take a look at the definition of the class, which has many features: public class paint extends _ original_paint. What is the next _ original_paint?
Android Paint class introduction and setting of relief and shadow effectsPaint class Introduction
Paint is the Paint brush. You can use it to set drawing information such as the color and style of the drawing text and image.1. Drawing
SetARGB (int a,
/**
* Paint class Introduction
*
* Paint is the paint brush, which plays an extremely important role in the drawing process. The paint brush mainly stores the color,
* Style and other painting information, specifying how to draw text and graphics,
/* Paint class introduction ** paint is the paint brush, which plays an extremely important role in the drawing process. The paint brush mainly stores the color, * style and other painting information, there are many ways to set the paint brush
Basic tutorial for Android -- 8.3.7 Paint API -- Xfermode and PorterDuff (4)This section introduces:
In the previous section, we wrote the first example about the use of Xfermode and PorterDuff: Implementation of ImageView for rounded corners and
Basic Android tutorial -- 8.3.1 three graphic tools
In the last two sections, we learned about Drawable and Bitmap. They all load images. In this section, we will learn about drawing-relatedSome APIs are Canvas, Paint, and Path )! This section is
/** * Paint class introduction ** paint is the paint brush, which plays an extremely important role in the drawing process. The paint brush mainly saves the color, * style and other drawing information, and specifies how to draw text and graphics,
Use a paint brush
The attributes of a paint brush include line, line width, and color. The attributes of the paint brush can be specified in the constructor or
Setstyle (), setwidth (), setbrush (), setcapstyle (), setjoinstyle (), and other
Custom Controls for Android graphics and images (demo: Scratch, human bypass, and image cache)Overview:
This part covers the android custom View, custom attributes, and comprehensive Android Image Processing Applications: Bitmap, Path, Matrix, and
CanvasClass mainly implements the Screen Painting Process, including many practical methods, such as drawing a path, area, texture, painting point, draw line, rendering text, the following are common methods of the canvas class. Of course, the
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.