private ArgbColor method_13(DrawContext context, DxfLayer layer) { int index = this.list_0[0].Elements.Count - 1; DxfMLineStyle style = this.Style; return(index < 0 || index >= style.Elements.Count ? context.GetPlotColor((DxfEntity)this) : DxfEntity.GetColor(context.Config.IndexedColors, style.Elements[index].Color, context.ByBlockColor, context.ByBlockDxfColor, layer)); }