Click or drag to resize

ItemColorSource Enumeration

Color source for a per-item color override on object attributes (for example, hatch boundary color or hatch pattern color). Selects whether the color is read from the layer, from the object's main attribute color, inherited from the parent, or read from a custom override color stored on the attribute itself.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public enum ItemColorSource
Members
  Member nameValueDescription
ColorFromLayer0Use color assigned to layer.
ColorFromObject1Use the object's main attribute color.
ColorFromParent3 For objects with parents (like objects in instance references), use the parent's color. If no parent, treat as ColorFromLayer.
ColorCustom4 Use the per-item custom override color stored on the attribute (for example, the color set by the matching color property such as HatchBoundaryColor or HatchPatternColor).
See Also