AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
ScreenShot (MemoryImage img, Camera camera) | |
MemoryImage | GetImage () |
Camera | GetCamera () |
Vector3 | ReadColor (long x, long y) |
Vector3 | ReadColor (Vector3 worldPt) |
void | ToBGR () |
boolean | SaveFile (String fileName) |
Uint8List | CreateMemoryImage () |
int | SampleGBR (Vector3 worldPt, int offset) |
boolean | SaveFile (String fileName, long width, long height) |
<>
屏幕快照对象.
Uint8List ScreenShot.CreateMemoryImage | ( | ) |
转成内存字节流
int ScreenShot.SampleGBR | ( | Vector3 | worldPt, |
int | offset ) |
Get the RGB color
worldPt | the position |
offset | the offset |
boolean ScreenShot.SaveFile | ( | String | fileName | ) |
保存文件
fileName | 文件名称 |
boolean ScreenShot.SaveFile | ( | String | fileName, |
long | width, | ||
long | height ) |
根据指定的大小来保存文件
fileName | 文件名 |
width | 宽度 |
height | 高度 |
void ScreenShot.ToBGR | ( | ) |
转成BGR格式。