

StrokeLineCap, of type LineCap, describes the shape at the start and end of a line.StrokeDashPattern, of type float, specifies the pattern of dashes and gaps that are used to outline an object.StrokeDashOffset, of type float, specifies the distance within the dash pattern where a dash begins.StrokeColor, of type Color, indicates the color used to paint an object's outline.MiterLimit, of type float, specifies the limit of the miter length of line joins in an object.FontSize, of type float, defines the size of the font when drawing text.


FillColor, of type Color, indicates the color used to paint an object's interior.DisplayScale, of type float, represents the scaling factor to scale the UI by on a canvas.BlendMode, of type BlendMode, defines the blend mode, which determines what happens when an object is rendered on top of an existing object.Antialias, of type bool, specifies whether anti-aliasing is enabled.Alpha, of type float, indicates the opacity of an object.ICanvas defines the following properties that affect the appearance of objects that are drawn on the canvas: For more information about the GraphicsView, see GraphicsView. NET MAUI, the GraphicsView enables consumption of the functionality, via a drawing canvas that's exposed as an ICanvas object. This functionality is provided to help you produce an attractive UI.įor more information about. NET MAUI shapes can be consumed directly on a page, and brushes can be consumed by all controls. For example, a control that replicates the GitHub contribution profile can be more easily implemented using than by using. functionality must be consumed on a drawing canvas, enables performant graphics to be drawn, and provides a convenient approach for writing graphics-based controls.However, each is aimed at different scenarios: There are many similarities between the functionality provided by, and the functionality provided by. This canvas supports drawing and painting shapes and images, compositing operations, and graphical object transforms.

NET Multi-platform App UI (.NET MAUI) provides a cross-platform graphics canvas on which 2D graphics can be drawn using types from the namespace.
