22 v8::Local<v8::Array> array);
24 CJS_Color(v8::Local<v8::Object> pObject, CJS_Runtime* pRuntime);
44 static uint32_t ObjDefnID;
45 static const char kName[];
50 CJS_Result set_black(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
53 CJS_Result set_blue(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
56 CJS_Result set_cyan(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
58 CJS_Result get_dark_gray(CJS_Runtime* pRuntime);
59 CJS_Result set_dark_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
62 CJS_Result set_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
65 CJS_Result set_green(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
67 CJS_Result get_light_gray(CJS_Runtime* pRuntime);
68 CJS_Result set_light_gray(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
71 CJS_Result set_magenta(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
74 CJS_Result set_red(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
76 CJS_Result get_transparent(CJS_Runtime* pRuntime);
77 CJS_Result set_transparent(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
80 CJS_Result set_white(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
83 CJS_Result set_yellow(CJS_Runtime* pRuntime, v8::Local<v8::Value> vp);
86 pdfium::span<v8::Local<v8::Value>> params);
88 pdfium::span<v8::Local<v8::Value>> params);
91 CJS_Result SetPropertyHelper(CJS_Runtime* pRuntime,
92 v8::Local<v8::Value> vp,