Свойство | Type | Description | |
---|---|---|---|
Bytes | byte[] |
Méthode | Description | |
---|---|---|
MaxDiff ( int i, int color ) : byte |
Returns the maximum difference between any of the R/G/B/A components of a color at given index and the one passed as parameter.
|
|
PixelBufferInfo ( Windows.Storage.Streams.IBuffer pixelBuffer ) : System |
Initializes a new instance of the PixelBufferInfo class.
|
|
UpdateFromBytes ( ) : void |
Updates the associated pixel buffer from bytes.
|
|
this ( int i ) : int |
Gets or sets the System.Int32 containing an ARGB format pixel at index i in the buffer. To access a pixel at position x,y you need to get pixels[wb.PixelWidth * y + x]. |
public MaxDiff ( int i, int color ) : byte | ||
i | int | Pixel index |
color | int | Color to compare to |
Résultat | byte |
public PixelBufferInfo ( Windows.Storage.Streams.IBuffer pixelBuffer ) : System | ||
pixelBuffer | Windows.Storage.Streams.IBuffer | The pixel buffer returned by WriteableBitmap.PixelBuffer. |
Résultat | System |