File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,17 @@ public class PixelTypeInfo
1515 /// Initializes a new instance of the <see cref="PixelTypeInfo"/> class.
1616 /// </summary>
1717 /// <param name="bitsPerPixel">Color depth, in number of bits per pixel.</param>
18- /// <param name="alpha">Tthe pixel alpha transparency behavior.</param>
19- public PixelTypeInfo ( int bitsPerPixel , PixelAlphaRepresentation ? alpha = null )
18+ public PixelTypeInfo ( int bitsPerPixel )
19+ {
20+ this . BitsPerPixel = bitsPerPixel ;
21+ }
22+
23+ /// <summary>
24+ /// Initializes a new instance of the <see cref="PixelTypeInfo"/> class.
25+ /// </summary>
26+ /// <param name="bitsPerPixel">Color depth, in number of bits per pixel.</param>
27+ /// <param name="alpha">The pixel alpha transparency behavior.</param>
28+ public PixelTypeInfo ( int bitsPerPixel , PixelAlphaRepresentation alpha )
2029 {
2130 this . BitsPerPixel = bitsPerPixel ;
2231 this . AlphaRepresentation = alpha ;
You can’t perform that action at this time.
0 commit comments