The IColorConfig type exposes the following members.

Methods

  NameDescription
Public methodGetColor
Used to retrieve a Color from the pin at the specified slice.
Public methodGetColorPointer(Int32*%, Double**%)
Public methodGetColorPointer(Int32%, Double*%)
Used to retrieve a Pointer to the Colors of the pin, which can be used to retrive large Spreads of Colors more efficiently. Each Color consists of 4 doubles, one for each of Red, Green, Blue and Alpha. Attention: Don't use this Pointer to write Colors to the pin!
Public methodSetColor
Used to write a Color to the pin at the specified slice.
Public methodSetSubType
Used to set the SubType of a Color pin, which is a more detailed specification of the Color, used by the GUI to guide the user to insert correct Colors. Note though that this does not prevent a user from setting "wrong" Colors on a pin. Ultimately each node is responsible for dealing with all possible inputs correctly. Should only be called once immediately after the pin has been created in IPlugin.SetPluginHost.

See Also