AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.Uint16Array类 参考

把ArrayBuffer当作Uint16数组来处理 更多...

类 AnyCAD.Foundation.Uint16Array 继承关系图:
AnyCAD.Foundation.Uint16TypedArray AnyCAD.Foundation.ArrayBufferView

Public 成员函数

 Uint16Array (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
 Uint16Array (ArrayBuffer buffer)
 
 Uint16Array (ArrayBufferView view)
 
 Uint16Array (ArrayBuffer buffer, EnumDataType dataType)
 
 Uint16Array (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 
- Public 成员函数 继承自 AnyCAD.Foundation.Uint16TypedArray
 Uint16TypedArray (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
 Uint16TypedArray (ArrayBuffer buffer)
 使用ArrayBuffer来构造
 
 Uint16TypedArray (ArrayBufferView view)
 使用ArrayBufferView来构造
 
 Uint16TypedArray (ArrayBuffer buffer, EnumDataType dataType)
 使用ArrayBuffer来构造
 
 Uint16TypedArray (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 使用ArrayBuffer来构造,取指定区域的数据
 
ushort GetValue (uint idx)
 获取第idx个数据
 
void SetValue (uint idx, ushort val)
 设置第idx个的数值
 
void SetItem (uint idx, ushort val)
 
void SetValue (uint idx, ushort x, ushort y)
 设置第idx和第idx+1的值
 
void SetItem2 (uint idx, ushort x, ushort y)
 
void SetValue (uint idx, ushort x, ushort y, ushort z)
 设置第idx及其后连选的三个值
 
void SetItem3 (uint idx, ushort x, ushort y, ushort z)
 
uint GetItemCount ()
 获取数据项的个数
 
- Public 成员函数 继承自 AnyCAD.Foundation.ArrayBufferView
 ArrayBufferView (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
 ArrayBufferView (ArrayBuffer buffer, uint byteOffset, uint byteLength, EnumDataType dataType)
 
uint GetByteOffset ()
 
uint GetByteLength ()
 
EnumDataType GetDataType ()
 
ArrayBuffer GetBuffer ()
 
void UpdateAddress ()
 

详细描述

把ArrayBuffer当作Uint16数组来处理

Group: Common