24 v8::Local<v8::Array> array);
26 CJS_Color(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
46 static uint32_t ObjDefnID;
47 static const char kName[];
52 CJS_Result set_black(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
55 CJS_Result set_blue(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
58 CJS_Result set_cyan(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
60 CJS_Result get_dark_gray(CJS_Runtime* pRuntime);
61 CJS_Result set_dark_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
64 CJS_Result set_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
67 CJS_Result set_green(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
69 CJS_Result get_light_gray(CJS_Runtime* pRuntime);
70 CJS_Result set_light_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
73 CJS_Result set_magenta(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
76 CJS_Result set_red(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
78 CJS_Result get_transparent(CJS_Runtime* pRuntime);
79 CJS_Result set_transparent(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
82 CJS_Result set_white(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
85 CJS_Result set_yellow(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
88 pdfium::span<v8::Local<v8::Value>> params);
90 pdfium::span<v8::Local<v8::Value>> params);
93 CJS_Result SetPropertyHelper(CJS_Runtime* pRuntime,
94 v8::Local<v8::Value> vp,