Table of Contents

Interface IColorDef

Namespace
CADability.Attribute
Assembly
CADability.dll

Interface to handle the colors of IGeoObject objects

public interface IColorDef

Properties

ColorDef

Sets and gets the color of the object

ColorDef ColorDef { get; set; }

Property Value

ColorDef

Methods

SetTopLevel(ColorDef)

Sets the color of only the top level object (in case of the object contains children) No changing events are issued. Not intended for public use.

void SetTopLevel(ColorDef newValue)

Parameters

newValue ColorDef

SetTopLevel(ColorDef, bool)

Same as SetTopLevel(ColorDef), but also overwrites the color of child objects if it is null. Child objects that already have colors remain unchanged.

void SetTopLevel(ColorDef newValue, bool overwriteChildNullColor)

Parameters

newValue ColorDef
overwriteChildNullColor bool