Uint8ClampedArray Class
Represents an array of 8-bit unsigned integers clamped to 0-255; if you specified a value that is out of the range of [0,255], 0 or 255 will be set instead;
Inheritance Hierarchy
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.HtmlTypedArray
      Aspose.HtmlTypedArrayByte
        Aspose.HtmlUint8ClampedArray

Namespace: Aspose.Html
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.9
Syntax
public class Uint8ClampedArray : TypedArray<byte>

The Uint8ClampedArray type exposes the following members.

Constructors
  NameDescription
Public methodUint8ClampedArray(Byte)
Initializes a new instance of the Uint8ClampedArray class.
Public methodUint8ClampedArray(Int32)
Initializes a new instance of the Uint8ClampedArray class.
Public methodUint8ClampedArray(ArrayBuffer)
Initializes a new instance of the Uint8ClampedArray class.
Public methodUint8ClampedArray(ArrayBuffer, Int32)
Initializes a new instance of the Uint8ClampedArray class.
Public methodUint8ClampedArray(ArrayBuffer, Int32, Int32)
Initializes a new instance of the Uint8ClampedArray class.
Properties
  NameDescription
Public propertyBuffer
Gets the ArrayBuffer referenced by this instance.
(Inherited from TypedArray.)
Public propertyByteLength
Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes.
(Inherited from TypedArray.)
Public propertyByteOffset
Gets the byteOffset from the start of referenced ArrayBuffer.
(Inherited from TypedArray.)
Public propertyItem
Gets or sets the Byte at the specified index.
(Overrides TypedArrayTItemInt32.)
Public propertyLength
Gets the length of a typed array.
(Inherited from TypedArray.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Fields
  NameDescription
Public fieldStatic memberBYTES_PER_ELEMENT
The property represents the size in bytes of each element in an typed array.
See Also