Package-level declarations
Types
This specifies how the next frame is based on this frame.
This specifies how the next frame is based on this frame.
Information about individual frames in a multi-framed image.
A class that locates boundaries in text. This class defines a protocol for objects that break up a piece of natural-language text according to a set of criteria. Instances or subclasses of BreakIterator can be provided, for example, to break a piece of text into words, sentences, or logical characters according to the conventions of some language or group of languages.
Describes how to interpret the alpha component of a pixel. A pixel may be opaque, or alpha, describing multiple levels of transparency.
ColorFilters are optional objects in the drawing pipeline. When present in a paint, they are called with the "src" colors, and return new colors, which are then passed onto the next stage (either ImageFilter or Xfermode).
Describes pixel and encoding. ImageInfo can be created from ColorInfo by providing dimensions.
Specify B and C (each between 0...1) to create a shader that applies the corresponding cubic reconstruction filter to the image.
Whether edge pixels draw opaque or with partial transparency.
Level of glyph outline adjustment
Consider registering this FontMgr as a default one to let all other possibly registered Font managers to look for their fallbacks first: FontCollection.setDefaultFontManager(...)
Specification for the colors in a gradient.
Base class for image filters. If one is installed in the paint, then all drawing occurs as usual, but it is as if the drawing happened into an offscreen (before the xfermode is applied). This offscreen bitmap will then be handed to the imagefilter, who in turn creates a new bitmap which is what will finally be drawn to the device (using the original xfermode).
Describes pixel dimensions and encoding. Bitmap, Image, Pixmap, and Surface can be created from ImageInfo. ImageInfo can be retrieved from Bitmap and Pixmap, but not from Image and Surface. For example, Image and Surface implementations may defer pixel depth, so may not completely specify ImageInfo.
MaskFilter is the base class for object that perform transformations on the mask before drawing it. An example subclass is Blur.
A utility proxy base class for implementing draw/paint filters.
Cap draws at the beginning and end of an open path contour.
Join specifies how corners are drawn when a shape is stroked. Join affects the four corners of a stroked rectangle, and the connected segments in a stroked path.
Path contain geometry. Path may be empty, or contain one or more verbs that outline a figure. Path always starts with a move verb to a Cartesian coordinate, and may be followed by additional verbs that add lines or curves.
PathAddMode chooses how addPath() appends paths. Adding one Path to another can extend the last contour or start a new contour.
Enum for choosing smaller or larger arc when adding arcs to paths.
PathBuilder is used to create immutable Path objects.
Shaders specify the source color(s) for what is being drawn. If a paint has no shader, then the paint's color is used. If the paint has a shader, then the shader's color(s) are use instead, but they are modulated by the paint's alpha. This makes it easy to create a shader once (e.g. bitmap tiling or gradient) and then change its transparency w/o having to modify the original shader... only the paint's alpha needs to be modified.
Functions
Create a new dataref the file with the specified path. If the file cannot be opened, this returns null.
Create a new dataref the file with the specified path. If the file cannot be opened, this returns null.
Creates OpenGL DirectContext using the provided interface. This allows usage of different OpenGL interfaces (e.g., EGL).