Show / Hide Table of Contents

Interface IColorDef

Interface to handle the colors of IGeoObject objects

Namespace: CADability.Attribute
Assembly: CADability.dll
Syntax
public interface IColorDef

Properties

| Improve this Doc View Source

ColorDef

Sets and gets the color of the object

Declaration
ColorDef ColorDef { get; set; }
Property Value
Type Description
ColorDef

Methods

| Improve this Doc View Source

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.

Declaration
void SetTopLevel(ColorDef newValue)
Parameters
Type Name Description
ColorDef newValue
| Improve this Doc View Source

SetTopLevel(ColorDef, Boolean)

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

Declaration
void SetTopLevel(ColorDef newValue, bool overwriteChildNullColor)
Parameters
Type Name Description
ColorDef newValue
System.Boolean overwriteChildNullColor
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX