CommonCanvas
Common functionality for all canvas types. This interface was separated from Canvas to simplify the implementation of PatternCanvas. This allows the former and Canvas to have different levels of support for perspective rendering. This might be avoidable if Kotlin supported self-types, since the Canvas API has references to context lambdas that refer to Canvas. This might eventually work as self references and allow the interfaces to be merged again.
See also
Inheritors
Properties
The size to which the Canvas will clip to by default. A View's Canvas won't clip if View.clipCanvasToBounds == false
Inherited properties
Functions
Draws an image.
Fills a rectangle.
Fills and outlines a rectangle.
Fills a rounded rectangle.
Fills and outlines a rounded rectangle.
Draws wrapped styled text.
Draws wrapped plain text.
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.
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.