Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbIsShapeColored

dbIsShapeColored(
d_shapeID
)
=> t / nil

Description

Indicates whether the specified shape is colored in a color other than grayColor.

Arguments

d_shapeID

Specifies the shape ID.

To check the shape's colorability use dbIsShapeColoringAllowed.

Value Returned

t

Returns t if the shape is not colored in grayColor

nil

Returns nil if the shape is colored in grayColor or the function encounters an error during execution

Example

dbIsShapeColored( coloredRect ) => t
dbIsShapeColored( dbCreateRect( cvId "M1" "drawing" '((0 0) (100 100)) ) ) => nil ; newly created shapes are colored in gray color.

Return to top
 ⠀
X