dbIsShapeColoringAllowed
dbIsShapeColoringAllowed(
d_shapeID
)
=> t / nil
Description
Indicates whether the specified shape is of a type that can be colored or not. Only the following shapes can be colored: arcs, lines, donuts, ellipses, pathSegs, paths, rects, and polygons.
This function does not check whether the layer associated with the shape is colorable or not, as defined in the technology database.
Arguments
Value Returned
Example
dbIsShapeColoringAllowed( dbCreateRect( cvId "M1" "drawing" '((0 0) (100 100)) ) ) => t
dbIsShapeColoringAllowed( dbCreateDot( cvId "M1" "drawing" '(0 0) ) ) => nil
Return to top