Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d21ca252 authored by Brian Salomon's avatar Brian Salomon
Browse files

BaseCanvas drawMesh blendMode identify the src and dst colors in docs.

Also note that AA is ignored, like drawVertices.

Bug:254700607
Change-Id: I1823220b957c759fd7d8590935c6c7be290c7d6b
parent 50fce419
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -670,8 +670,12 @@ public abstract class BaseCanvas {
    /**
     * Draws a mesh object to the screen.
     *
     * <p>Note: antialiasing is not supported, therefore {@link Paint#ANTI_ALIAS_FLAG} is
     * ignored.</p>
     *
     * @param mesh {@link Mesh} object that will be drawn to the screen
     * @param blendMode {@link BlendMode} used to blend mesh primitives with the Paint color/shader
     * @param blendMode {@link BlendMode} used to blend mesh primitives as the destination color
     *            with the Paint color/shader as the source color.
     * @param paint {@link Paint} used to provide a color/shader/blend mode.
     */
    public void drawMesh(@NonNull Mesh mesh, BlendMode blendMode, @NonNull Paint paint) {