diff options
| author | 2023-02-01 21:21:47 +0000 | |
|---|---|---|
| committer | 2023-02-01 21:21:47 +0000 | |
| commit | a3af28c2b88df53afc6787b8ec7525e349c6bcc8 (patch) | |
| tree | 35442eca5895026083283b967c15cd316d97b339 | |
| parent | e7969cfd135bc8e4557efc81da424985f8edadf4 (diff) | |
| parent | d21ca252475ec5e1ecb5a3e085a5a13713d27f60 (diff) | |
Merge "BaseCanvas drawMesh blendMode identify the src and dst colors in docs."
| -rw-r--r-- | graphics/java/android/graphics/BaseCanvas.java | 6 |
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) { |