Пример #1
0
        private void method_1()
        {
            switch (this.indexedColorHandling_0)
            {
            case IndexedColorHandling.BehaveLikeAutocad:
                this.dxfIndexedColorSet_0 = DxfIndexedColorSet.GetAcadIndexedColorSet(this.argbColor_0);
                break;

            case IndexedColorHandling.BehaveLikeClassicCadlibWithoutBackgroundCorrection:
                this.dxfIndexedColorSet_0 = DxfIndexedColorSet.CadlibClassicIndexedColors;
                break;

            case IndexedColorHandling.BehaveLikeClassicCadlibWithBackgroundCorrection:
                this.dxfIndexedColorSet_0 = DxfIndexedColorSet.smethod_13(this.argbColor_0);
                break;
            }
        }
Пример #2
0
 internal static DxfIndexedColor smethod_2(ArgbColor backgroundColor)
 {
     return((DxfIndexedColor)DxfIndexedColorSet.smethod_13(backgroundColor));
 }