dbGetShapeColor
dbGetShapeColor(d_shapeId) =>t_maskColor/ nil
Description
Returns the assigned color of the specified shape. By default, all newly created shapes are of the grayColor color type, which represents the currently assigned color of the shape.
Arguments
|
ID of the shape whose color is to be returned.
To check the shape's colorability use dbIsShapeColoringAllowed.
|
Value Returned
Example
dbGetShapeColor( coloredRect ) => "mask2Color"
dbGetShapeColor( dbCreateRect( cvId "M1" "drawing" '((0 0) (100 100)) ) ) => "grayColor" ; newly created shapes are colored in gray color.
Return to top