AnyCAD Rapid SDK 2022
The Rapid CAD SDK
Public Member Functions | List of all members
ScreenShot Class Reference

Public Member Functions

 ScreenShot (MemoryImage img, Camera camera)
 
MemoryImage GetImage ()
 
Camera GetCamera ()
 
Vector3 ReadColor (long x, long y)
 
Vector3 ReadColor (Vector3 worldPt)
 
boolean SaveFile (String fileName)
 
Uint8List CreateMemoryImage ()
 
int SampleGBR (Vector3 worldPt, int offset)
 

Detailed Description

<>
Take snapshot for the screen.

Member Function Documentation

◆ SampleGBR()

int ScreenShot.SampleGBR ( Vector3  worldPt,
int  offset 
)

Get the RGB color

Parameters
worldPtthe position
offsetthe offset
Returns
0: R, 1:B, 2:G