diff --git a/src/Mono.Android/Android.Graphics/AndroidBitmapInfo.cs b/src/Mono.Android/Android.Graphics/AndroidBitmapInfo.cs
index 053b896a6ac..6898e2d8280 100644
--- a/src/Mono.Android/Android.Graphics/AndroidBitmapInfo.cs
+++ b/src/Mono.Android/Android.Graphics/AndroidBitmapInfo.cs
@@ -3,33 +3,61 @@
namespace Android.Graphics {
#if ANDROID_8
+ ///
+ /// Provides information about the pixel buffer of an Android .
+ /// This struct corresponds to the native AndroidBitmapInfo type from the Android NDK.
+ ///
+ ///
+ ///
+ /// Use this struct with 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.
+ ///
+ ///
public struct AndroidBitmapInfo : IEquatable {
internal uint width, height, stride;
internal int format;
internal uint flags;
+ ///
+ /// Gets the width of the bitmap in pixels.
+ ///
public uint Width {
get {return width;}
}
+ ///
+ /// Gets the height of the bitmap in pixels.
+ ///
public uint Height {
get {return height;}
}
+ ///
+ /// Gets the number of bytes between rows in the pixel buffer.
+ ///
public uint Stride {
get {return stride;}
}
+ ///
+ /// Gets the pixel format of the bitmap.
+ ///
public Format Format {
get {return (Format) format;}
}
+ ///
public override int GetHashCode ()
{
return (int) width ^ (int) height ^ (int) stride ^ format ^ (int) flags;
}
+ ///
public override bool Equals (object value)
{
if (!(value is AndroidBitmapInfo))
@@ -37,6 +65,11 @@ public override bool Equals (object value)
return Equals ((AndroidBitmapInfo) value);
}
+ ///
+ /// Determines whether the specified is equal to this instance.
+ ///
+ /// The to compare with this instance.
+ /// if the specified value is equal to this instance; otherwise, .
public bool Equals (AndroidBitmapInfo value)
{
return value.width == width &&