[mxcad_2d API documentation] (../README. md)/[2d] (../modules/2d. md)/MxModifyColor
Class: MxModifyColor
2d.MxModifyColor
MxModifyColor batch modification of object colors on the image
Table of contents
Constructors
Methods
Constructors
constructor
• new MxModifyColor()
Methods
Do
▸ Do(database
, color
): boolean
Modify the color of objects on the image.
Parameters
Name | Type |
---|---|
database | McDbDatabase |
color | McCmColor |
Returns
boolean
DoRestore
▸ DoRestore(): void
Restore the color of objects on the image.
Returns
void