Article | 70000912 |
Type | Wish |
Product | WebJS |
Version | 7009 |
Date Added | 10/22/2016 12:00:00 AM |
Fixed | 7.7010.0.1 (10/22/2016 12:00:00 AM) |
Submitted by | VectorDraw Team |
Summary
Define select highlight color when user action like CmdMove , CmdSelect etc. select entities
Solution
Added in version 7010.0.1
use the global value of
vdConst.ActionHighLightColor
Defines an Array of red,green,blue,alpha color used when action select an entity Set it to [] (empty array) in order to keep entity color. Set it to [255,0,0] in order to draw selected entities as red. Deault is [] Example: var vdcanvas = vdmanager.vdrawObject(canvasId); vdConst.ActionHighLightColor = [0, 0, 255];//test blue hilight vdcanvas.CmdMove();//begines a user action that select and move entities.