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

dbIsShapeColorLocked

dbIsShapeColorLocked(
d_shapeID
)
=> t / nil

Description

Indicates whether the coloring for the specified shape is locked.

Arguments

d_shapeID

Specifies the Shape ID.

To check the shape's colorability, use dbIsShapeColoringAllowed.

Value Returned

t

Returns t if the coloring of the shapeID is locked.

nil

Returns nil if the coloring of the shapeID is not locked or if there is an error.

Example

dbSetShapeColorLocked( coloredRect t ) => t
dbIsShapeColorLocked( coloredRect ) => t
dbIsShapeColorLocked( dbCreateRect( cvId "M1" "drawing" '((0 0) (100 100)) ) ) => nil   ; newly created shapes have unlocked coloring

Return to top
 ⠀
X