Creates Bitmap objects from various sources, including files, streams,

and byte-arrays.

BitmapRegionDecoder can be used to decode a rectangle region from an image.

Shader used to draw a bitmap as a texture.

A color filter that can be used to tint the source pixels using a single

color and a specific

This takes a mask, and blurs its edge by the specified radius.

A camera instance can be used to compute 3D transformations and

generate a matrix that can be applied, for instance, on a

The Canvas class holds the "draw" calls.

The Color class provides methods for creating, converting and

manipulating colors.

A color filter can be used with a

4x5 matrix for transforming the color and alpha components of a Bitmap.

A color filter that transforms colors through a 4x5 color matrix.

A

A connector transforms colors from a source color space to a destination

color space.

An RGB color space is an additive color space using the

Defines the parameters for the ICC parametric curve type 4, as

defined in ICC.1:2004-10, section 10.15.

A subclass of shader that returns the composition of two other shaders, combined by

an

A DrawFilter subclass can be installed in a Canvas.

Creates an instance of a hardware-accelerated renderer.

Sets the parameters that can be used to control a render request for a

A class for converting encoded images (like PNG, JPEG,

WEBP, GIF, or HEIF) into

Information about an encoded image.

Source of encoded image data.

An Insets instance holds four integer offsets which describe changes to the four

edges of a Rectangle.

A color filter that can be used to simulate simple lighting effects.

MaskFilter is the base class for object that perform transformations on

an alpha-channel mask before drawing it.

The Matrix class holds a 3x3 matrix for transforming coordinates.

This class was deprecated

in API level 28.

Prefer

The NinePatch class permits drawing a bitmap in nine or more sections.

Defines a simple shape, used for bounding graphical regions.

The Paint class holds the style and color information about how to draw

geometries, text and bitmaps.

Class that describes the various metrics for a font at a given text size.

Convenience method for callers that want to have FontMetrics values as

integers.

The Path class encapsulates compound (multiple contour) geometric paths

consisting of straight line segments, quadratic curves, and cubic curves.

PathEffect is the base class for objects in the Paint that affect

the geometry of a drawing primitive before it is transformed by the

canvas' matrix and drawn.

A Picture records drawing calls (via the canvas returned by beginRecording)

and can then play them back into Canvas (via

Point holds two integer coordinates

PointF holds two float coordinates

This class contains the list of alpha compositing and blending modes

that can be passed to

A color filter that can be used to tint the source pixels using a single

color and a specific

A Canvas implementation that records view system drawing operations for deferred rendering.

Rect holds four integer coordinates for a rectangle.

RectF holds four float coordinates for a rectangle.

Intermediate rendering step used to render drawing commands with a corresponding

visual effect.

RenderNode is used to build hardware accelerated rendering hierarchies.

Shader is the base class for objects that return horizontal spans of colors

during drawing.

Captures frames from an image stream as an OpenGL ES texture.

The Typeface class specifies the typeface and intrinsic style of a font.

A builder class for creating new Typeface instance.

A builder class for creating new Typeface instance.

Xfermode is the base class for objects that are called to implement custom

"transfer-modes" in the drawing pipeline.

YuvImage contains YUV data and provides a method that compresses a region of

the YUV data to a Jpeg.

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐