Next: , Previous: , Up: General object functions   [Contents][Index]


2.2.1.4 Object color

Object colors in Lepton documents are specified as indices into a color map. This allows users to specify the color map that suits them when viewing schematics and symbols.

Function: object-color object

Returns the integer color map index of the color used to draw object.

Function: set-object-color! object color

Sets the integer color map index for object to color. Returns object.