summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Brian Salomon <bsalomon@google.com> 2023-02-01 21:21:47 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-02-01 21:21:47 +0000
commita3af28c2b88df53afc6787b8ec7525e349c6bcc8 (patch)
tree35442eca5895026083283b967c15cd316d97b339
parente7969cfd135bc8e4557efc81da424985f8edadf4 (diff)
parentd21ca252475ec5e1ecb5a3e085a5a13713d27f60 (diff)
Merge "BaseCanvas drawMesh blendMode identify the src and dst colors in docs."
-rw-r--r--graphics/java/android/graphics/BaseCanvas.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/BaseCanvas.java b/graphics/java/android/graphics/BaseCanvas.java
index 00ffd09eb29e..8cd8ddf68832 100644
--- a/graphics/java/android/graphics/BaseCanvas.java
+++ b/graphics/java/android/graphics/BaseCanvas.java
@@ -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) {