Lines Matching defs:Canvas

37  * The Canvas class holds the "draw" calls. To draw something, you need
38 * 4 basic components: A Bitmap to hold the pixels, a Canvas to host
45 * <p>For more information about how to use Canvas, read the
47 * Canvas and Drawables</a> developer guide.</p></div>
49 public class Canvas extends BaseCanvas {
74 // a Canvas object.
77 // Use a Holder to allow static initialization of Canvas in the boot image.
80 Canvas.class.getClassLoader(), nGetNativeFinalizer(), NATIVE_ALLOCATION_SIZE);
83 // This field is used to finalize the native Canvas properly
92 public Canvas() {
112 public Canvas(@NonNull Bitmap bitmap) {
114 throw new IllegalStateException("Immutable bitmap passed to Canvas constructor");
125 public Canvas(long nativeCanvas) {
148 * Indicates whether this Canvas uses hardware acceleration.
257 * <p>Specifies the density for this Canvas' backing bitmap. This modifies
402 * @param saveFlags flag bits that specify which parts of the Canvas state
424 * buffer drawn back to the current target of the Canvas (either the
460 * buffer drawn back to the current target of the Canvas (which can potentially be a previous
512 * buffer drawn back to the current target of the Canvas (either the
580 * Returns the number of matrix/clip states on the Canvas' private stack.
1056 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
1058 * non-antialiased ({@link Canvas.EdgeType#BW}).
1076 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
1078 * non-antialiased ({@link Canvas.EdgeType#BW}).
1100 * @param type {@link Canvas.EdgeType#AA} if the path should be considered antialiased,
1102 * non-antialiased ({@link Canvas.EdgeType#BW}).