Language

AndroidBitmapInfo Struct

Definition

Provides information about the pixel buffer of an Android Bitmap. This struct corresponds to the native AndroidBitmapInfo type from the Android NDK.

public struct AndroidBitmapInfo : IEquatable<Android.Graphics.AndroidBitmapInfo>
type AndroidBitmapInfo = struct
Inheritance
AndroidBitmapInfo
Implements

Remarks

Use this struct with Bitmap to inspect the dimensions, stride, and pixel format of a bitmap's underlying pixel buffer.

See the Android NDK Bitmap documentation for more information about the native type.

Properties

Name Description
Format

Gets the pixel format of the bitmap.

Height

Gets the height of the bitmap in pixels.

Stride

Gets the number of bytes between rows in the pixel buffer.

Width

Gets the width of the bitmap in pixels.

Methods

Name Description
Equals(AndroidBitmapInfo)

Determines whether the specified AndroidBitmapInfo is equal to this instance.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

Applies to