Table of Contents

Enum ColorDef.ColorSource

Namespace
CADability.Attribute
Assembly
CADability.dll

Says where the colour of an object with this ColorDef comes from. Ordinary entries of a ColorList are fromName; the static CDfromParent and CDfromStyle are placeholders whose own Color value is not meaningful.

public enum ColorDef.ColorSource

Fields

fromName = 2

A named colour from the ColorList with its own RGB value. This is the normal case.

fromObject = 0

The colour is defined by the object itself. Not used by CADability.

fromParent = 1

The object takes the colour of its parent, i.e. of the Block it belongs to (see CDfromParent).

fromStyle = 3

The colour is determined by the Style of the object (see CDfromStyle).