public class NativeUint8ClampedArray extends NativeTypedArrayView<Integer>
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeUint8ClampedArray() |
NativeUint8ClampedArray(int len) |
NativeUint8ClampedArray(NativeArrayBuffer ab,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
get(int i) |
int |
getBytesPerElement()
Return the number of bytes represented by each element in the array.
|
String |
getClassName()
Return the name of the class.
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
Integer |
set(int i,
Integer aByte) |
add, add, addAll, addAll, clear, contains, containsAll, delete, equals, execIdCall, get, getArrayElement, getArrayLength, getIds, has, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArraygetBuffer, getByteLength, getByteOffsetactivatePrototypeMap, defineOwnProperty, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributesassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, isConst, isExtensible, isSealed, preventExtensions, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototypegetClass, notify, notifyAll, toString, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic NativeUint8ClampedArray()
public NativeUint8ClampedArray(NativeArrayBuffer ab, int off, int len)
public NativeUint8ClampedArray(int len)
public String getClassName()
ScriptableObjectgetClassName in interface ScriptablegetClassName in class ScriptableObjectpublic static void init(Context cx, Scriptable scope, boolean sealed)
public int getBytesPerElement()
NativeTypedArrayViewgetBytesPerElement in class NativeTypedArrayView<Integer>public Integer get(int i)
Copyright © 2010 - 2020 Adobe. All Rights Reserved