Lingua

Image.Plane.RowStride Property

Definition

The row stride for this color plane, in bytes.

public abstract int RowStride { [Android.Runtime.Register("getRowStride", "()I", "GetGetRowStrideHandler")] get; }
[<get: Android.Runtime.Register("getRowStride", "()I", "GetGetRowStrideHandler")>]
member this.RowStride : int

Property Value

Attributes

Remarks

The row stride for this color plane, in bytes.

This is the distance between the start of two consecutive rows of pixels in the image. Note that row stride is undefined for some formats such as RAW_PRIVATE, and calling getRowStride on images of these formats will cause an UnsupportedOperationException being thrown. For formats where row stride is well defined, the row stride is always greater than 0.

Android reference for android.media.Image.Plane.getRowStride.

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