Class Uint8ClampedArray
ชื่อพื้นที่: Aspose.Html การประกอบ: Aspose.HTML.dll (25.4.0)
แสดงให้เห็นถึงชุดของ 8 บิตแบบไม่มีสัญญาณที่คล้ายกับ 0-255 หากคุณระบุค่าที่ไม่ได้อยู่ในช่วงของ [0,255] 0 หรือ 255 จะถูกตั้งค่าแทน
[DOMName("Uint8ClampedArray")]
[DOMObject]
[ComVisible(true)]
public class Uint8ClampedArray : TypedArray<byte>, INotifyPropertyChanged
Inheritance
object
←
DOMObject
←
TypedArray
←
TypedArray
Implements
อนุญาโตตุลาการ
TypedArray
Constructors
Uint8ClampedArray(int)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Uint8ClampedArray
public Uint8ClampedArray(int length)
Parameters
length
int
ความยาว (จํานวนองค์ประกอบ)
Uint8ClampedArray(บิต[])
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Uint8ClampedArray
public Uint8ClampedArray(byte[] data)
Parameters
data
byte
[ ]
ข้อมูลอัตโนมัติ
Uint8ClampedArray(ArrayBuffer)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Uint8ClampedArray
public Uint8ClampedArray(ArrayBuffer buffer)
Parameters
buffer
ArrayBuffer
บูฟเฟอร์ข้อมูล
Uint8ClampedArray(ArrayBuffer, int)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Uint8ClampedArray
public Uint8ClampedArray(ArrayBuffer buffer, int byteOffset)
Parameters
buffer
ArrayBuffer
บูฟเฟอร์ข้อมูล
byteOffset
int
หมายเลขรุ่น: The byte offset
Uint8ClampedArray(ArrayBuffer, int, int)
เริ่มต้นตัวอย่างใหม่ของคลาส Aspose.Html.Uint8ClampedArray
public Uint8ClampedArray(ArrayBuffer buffer, int byteOffset, int length)
Parameters
buffer
ArrayBuffer
บูฟเฟอร์ข้อมูล
byteOffset
int
หมายเลขรุ่น: The byte offset
length
int
ความยาว
Fields
BYTES_PER_ELEMENT
คุณสมบัติแสดงให้เห็นถึงขนาดในไบต์ของแต่ละองค์ประกอบในแถวที่พิมพ์
[DOMName("BYTES_PER_ELEMENT")]
public static readonly byte BYTES_PER_ELEMENT
หมายเลข
Properties
นี่[int]
รับหรือตั้งค่า System.Byte ที่ index ที่ระบุ
public override byte this[int index] { get; set; }