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

Also note that AA is ignored, like drawVertices.

Bug:254700607
Change-Id: I1823220b957c759fd7d8590935c6c7be290c7d6b
This commit is contained in:
Brian Salomon
2023-02-01 19:06:57 +00:00
parent 50fce41954
commit d21ca25247

View File

@@ -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) {