It includes the Canvas, Paint, and RectFloat classes.
| 类 | 说明 |
|---|---|
| Arc |
Describes parameters for drawing an arc.
|
| BlurDrawLooper |
Describes shadow attributes of a
Paint. |
| Canvas |
Provides various draw calls to draw 2D graphics.
|
| ColorFilter |
Represents the color filter of a paint.
|
| ColorMatrix |
Transforms the alpha and color values of a
PixelMap object. |
| GroupShader |
Represents a group shader.
|
| Insets |
Provides a wrapper class representing the offsets for the left, top, right, and bottom bounds of a rectangle.
|
| LinearShader |
Represents a shader that shades colors in linear manner.
|
| MaskFilter |
Represents the mask filter of a paint.
|
| Paint |
Describes drawing style and color.
|
| Paint.FontMetrics |
Describes fonts of the same size in multiple metrics.
|
| Path |
Represents a multiple-contoured path as a geometric compound of straight line segments, quadratic curves,
and cubic curves.
|
| PathEffect |
Represents the path effects for drawing geometric graphics.
|
| PathMeasure |
Measures the length of a
Path object. |
| PdfDisplay |
Displays a PDF file imported from the file input stream.
|
| PdfGenerator |
Generates a PDF file based on canvas content.
|
| PdfGenerator.PageInfo |
Describes the metadata of a page in a PDF file.
|
| PdfGenerator.PageInfo.Builder |
A static inner class used to create
PageInfo objects. |
| PdfGenerator.PdfPage |
Defines a page in a PDF file.
|
| Picture |
Records drawing calls and then draw objects by playing the calls back to
Canvas through Canvas#drawPicture. |
| PixelMapDrawInfo |
Constant values used as parameters to
Canvas#drawDeformedPixelMap(PixelMapHolder, PixelMapDrawInfo, Paint)
calls. |
| PixelMapHolder |
Provides container for
PixelMap. |
| PixelMapShader |
Draws pixelmaps into textures.
|
| RadialShader |
Represents a shader that shades colors in radial manner around a center point.
|
| Region |
Represents a region composed of multiple rectangles.
|
| RegionIterator |
Represents the iterator of
Region. |
| Shader |
Base class used to shade colors during drawing.
|
| SweepShader |
Represents a shader that shades colors in sweep manner around a center point.
|
| Texture |
Stores the pixelmap file representing the drawing result.
|
| ThreeDimView |
Calculates a three-dimensional transformation matrix.
|
| Vertices |
Provides methods for obtaining vertex information to draw triangles, including vertex modes, positions, texture
coordinates and colors.
|
| 枚举 | 说明 |
|---|---|
| BlendMode |
Enumerates blend modes used for drawing objects on a
Canvas. |
| Canvas.ClipOp |
Enumerates the modes for clipping the canvas with a particular path.
|
| Canvas.PorterDuffMode |
Enumerates color blend modes.
|
| Canvas.VertexMode |
Enumerates graphic shapes formed by connecting vertices.
|
| MaskFilter.Blur |
Enumerates blur styles for a
MaskFilter instance. |
| Paint.Join |
Enumerates line join styles of a paint.
|
| Paint.MaskType |
Indicates the required shape for a mask.
|
| Paint.ShaderType |
Indicates the shader type, which specifies how the colors in the paint are shaded.
|
| Paint.StrokeCap |
Indicates the paint stroke cap, which specifies the shape of each drawing point of a paint stroke.
|
| Paint.Style |
Indicates the paint style type.
|
| Path.AddPathMode |
Enumerates the modes of adding a path to another path.
|
| Path.ArcSize |
Enumerates the modes of adding an arc.
|
| Path.Direction |
Enumerates drawing directions of a
Path object. |
| Path.FillType |
Enumerates filling types of a
Path object. |
| PathEffect.Style |
Enumerates the permutation styles of each shape in the path effect.
|
| Region.Op |
Enumerates operation types.
|
| Shader.TileMode |
Specifies how to shade colors on the part outside of the shading area defined by the
Shader. |
| Texture.AlphaType |
Enumerates alpha types of the texture.
|
| Texture.ColorType |
Enumerates pixel formats of the texture.
|