Easy Tutorial
❮ Window Getcomputedstyle Method Verilog2 Clock Switch ❯

8.3.14 Paint Enumerations/Constants and ShadowLayer Shadow Effects

Category Android Basic Tutorial

Introduction to This Section:

>

In the Android Basic Tutorial - 8.3.1 Detailed Explanation of Three Drawing Tool Classes, we encountered several parameters of the Paint method, such as Paint.Style, Paint.Cap, Paint.Join, etc. These are enumerations in Paint. By setting these enumeration values, we can achieve specific effects, such as Style: brush style, Join: shape joining method, etc. In this section, we will delve into the source code of Paint to introduce these enumeration values one by one. Additionally, we will also discuss the ShadowLayer, which sets a shadow effect for Paint! By opening the source code of the Paint class, we can see the following enumeration values:

WeChat Subscription

English:

❮ Window Getcomputedstyle Method Verilog2 Clock Switch ❯