Canvas
All rendering operations are done using Canvases. A canvas represents an "infinite", 2-D surface that can be "drawn" onto. Despite this, there is a size associated with each Canvas that indicates its clipping region. The framework manages Canvases and makes them available to Views during View.render.
Canvases are intended to be efficient and reuse previous content when they are re-rendered.
Author
Nicholas Eddy
Inherited properties
The height to which the Canvas will clip by default.
The size to which the Canvas will clip to by default. A View's Canvas won't clip if View.clipCanvasToBounds == false
The width to which the Canvas will clip by default.
Functions
Inherited functions
Fills an arc centered at the given point and swept by the given angle.
Fills and outlines an arc centered at the given point and swept by the given angle.
Fills an arc centered at the given point and swept by the given angle.
Fills and outlines an arc centered at the given point and swept by the given angle.
Fills a circle.
Fills and outlines a circle.
Fills an ellipse.
Fills and outlines an ellipse.
Draws an image.
Fills a rectangle.
Fills and outlines a rectangle.
Fills a rounded rectangle.
Fills and outlines a rounded rectangle.
Fills a rectangle.
Fills and outlines a rectangle.
Fills a rounded rectangle.
Fills and outlines a rounded rectangle.
Fills a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.
Fills and outlines a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.
Fills a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.
Fills and outlines a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.
Draws wrapped styled text.
Draws wrapped plain text.