From 3b016cb633e060b100cfd0f5eb1ffc2b5d33615a Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Fri, 20 Nov 2026 00:11:34 -0600 Subject: [PATCH] Fix documentation errors in Android.Graphics (R138) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- docs/xml/Android.Graphics/Rasterizer.xml | 2 +- docs/xml/Android.Graphics/RecordingCanvas.xml | 4 ++-- docs/xml/Android.Graphics/Region.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/xml/Android.Graphics/Rasterizer.xml b/docs/xml/Android.Graphics/Rasterizer.xml index 9780a82ee..32ee85345 100644 --- a/docs/xml/Android.Graphics/Rasterizer.xml +++ b/docs/xml/Android.Graphics/Rasterizer.xml @@ -62,7 +62,7 @@ - Creates a compatibility wrapper with no native rasterizer on Android 16. + Creates a compatibility wrapper with no native rasterizer. Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. diff --git a/docs/xml/Android.Graphics/RecordingCanvas.xml b/docs/xml/Android.Graphics/RecordingCanvas.xml index 72844250a..711c7ea0b 100644 --- a/docs/xml/Android.Graphics/RecordingCanvas.xml +++ b/docs/xml/Android.Graphics/RecordingCanvas.xml @@ -453,7 +453,7 @@ The vertical position of the bitmap's upper-left corner. The number of pixel colors read from each row. The number of rows read from the color array. - to retain alpha in native 32-bit storage; selects opaque RGB565 storage in the Android 16 implementation. + True if the alpha channel of the colors contains valid values. If false, the alpha byte is ignored (assumed to be 0xFF for every pixel). The optional paint supplying bitmap-rendering attributes, or for default rendering. Legacy version of drawBitmap(int[] colors,...) that took ints for x,y @@ -864,7 +864,7 @@ The y-radius of the oval used to round the corners on the outer rectangle The bounds of the inner rounded rectangle to exclude. The x-radius of the oval used to round the corners on the inner rectangle - The y-radius of the oval used to round the corners on the outer rectangle + The y-radius of the oval used to round the corners on the inner rectangle The paint supplying color and supported drawing attributes for the region between the outlines. Draws a double rounded rectangle using the specified paint. diff --git a/docs/xml/Android.Graphics/Region.xml b/docs/xml/Android.Graphics/Region.xml index 10507c58e..e0f50bec0 100644 --- a/docs/xml/Android.Graphics/Region.xml +++ b/docs/xml/Android.Graphics/Region.xml @@ -1213,7 +1213,7 @@ The region whose coverage replaces this region. Set the region to the specified region. - The Android 16 base implementation returns after copying, even if the copied region is empty. + The base implementation returns after copying, even if the copied region is empty. Set the region to the specified region.