PixelCopy.PixelCopyRequest.Builder.SetSourceRect(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the region of the source to copy from. By default, the entire source is copied to the output. If only a subset of the source is necessary to be copied, specifying a srcRect will improve performance by reducing the amount of data being copied.
[Android.Runtime.Register("setSourceRect", "(Landroid/graphics/Rect;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)]
public Android.Views.PixelCopy.PixelCopyRequest.Builder SetSourceRect(Android.Graphics.Rect? srcRect);
[<Android.Runtime.Register("setSourceRect", "(Landroid/graphics/Rect;)Landroid/view/PixelCopy$Request$Builder;", "", ApiSince=34)>]
member this.SetSourceRect : Android.Graphics.Rect -> Android.Views.PixelCopy.PixelCopyRequest.Builder
Parameters
- srcRect
- Rect
The Android.Graphics.Rect value used for src rect.
Returns
The result of the set source rect operation.
- Attributes
Remarks
For details, see the Android reference documentation for android.view.PixelCopy.Request.Builder.setSourceRect.
Java documentation for android.view.PixelCopy.Request.Builder.setSourceRect.
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.