Class Uint8ClampedArray
Nazwa przestrzeń: Aspose.Html Zestaw: Aspose.HTML.dll (25.4.0)
Przedstawia szereg 8-bitowych niewyznaczonych zbiorników przymocowanych do 0-255; jeśli wyznaczysz wartość, która jest poza zakresem [0,255], 0 lub 255 zostaną ustawione zamiast;
[DOMName("Uint8ClampedArray")]
[DOMObject]
[ComVisible(true)]
public class Uint8ClampedArray : TypedArray<byte>, INotifyPropertyChanged
Inheritance
object
←
DOMObject
←
TypedArray
←
TypedArray
Implements
Dziedziczeni członkowie
TypedArray
Constructors
Uint8ClampedArray(Int)
Inicjalizuje nowy przykład klasy Aspose.Html.Uint8ClampedArray.
public Uint8ClampedArray(int length)
Parameters
length
int
Długość (liczba elementów)
Uint8ClampedArray(byte[])
Inicjalizuje nowy przykład klasy Aspose.Html.Uint8ClampedArray.
public Uint8ClampedArray(byte[] data)
Parameters
data
byte
[ ]
Dane z array.
Uint8ClampedArray(ArrayBuffer)
Inicjalizuje nowy przykład klasy Aspose.Html.Uint8ClampedArray.
public Uint8ClampedArray(ArrayBuffer buffer)
Parameters
buffer
ArrayBuffer
Dane z buforem.
Uint8ClampedArray(ArrayBuffer , int)
Inicjalizuje nowy przykład klasy Aspose.Html.Uint8ClampedArray.
public Uint8ClampedArray(ArrayBuffer buffer, int byteOffset)
Parameters
buffer
ArrayBuffer
Dane z buforem.
byteOffset
int
Byta jest zwrotna.
Uint8ClampedArray(ArrayBuffer, int, int)
Inicjalizuje nowy przykład klasy Aspose.Html.Uint8ClampedArray.
public Uint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
Parameters
buffer
ArrayBuffer
Dane z buforem.
byteOffset
int
Byta jest zwrotna.
length
int
i długości .
Fields
BYTES_PER_ELEMENT
Właściwość reprezentuje rozmiar w bajtach każdego elementu w typowanej kolejce.
[DOMName("BYTES_PER_ELEMENT")]
public static readonly byte BYTES_PER_ELEMENT
Wartość pola
Properties
Tego[Int]
Otrzymuje lub ustawia System.Byte na określonym indeksie.
public override byte this[int index] { get; set; }