Aracılığıyla paylaş


Image.CropRect Property

Definition

Get the crop rectangle associated with this frame. -or- Set the crop rectangle associated with this frame.

public virtual Android.Graphics.Rect? CropRect { [Android.Runtime.Register("getCropRect", "()Landroid/graphics/Rect;", "GetGetCropRectHandler")] get; [Android.Runtime.Register("setCropRect", "(Landroid/graphics/Rect;)V", "GetSetCropRect_Landroid_graphics_Rect_Handler")] set; }
[<get: Android.Runtime.Register("getCropRect", "()Landroid/graphics/Rect;", "GetGetCropRectHandler")>]
[<set: Android.Runtime.Register("setCropRect", "(Landroid/graphics/Rect;)V", "GetSetCropRect_Landroid_graphics_Rect_Handler")>]
member this.CropRect : Android.Graphics.Rect with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get the crop rectangle associated with this frame.

The crop rectangle specifies the region of valid pixels in the image, using coordinates in the largest-resolution plane.

Java documentation for android.media.Image.getCropRect().

Property setter documentation:

Set the crop rectangle associated with this frame.

The crop rectangle specifies the region of valid pixels in the image, using coordinates in the largest-resolution plane.

Java documentation for android.media.Image.setCropRect(android.graphics.Rect).

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.

Applies to