Ejemplo n.º 1
0
        public void RenderLineRule(SpatialElementTemplateMapper spatialElementTemplateMapper, Color?color)
        {
            PathWidthRule pathWidthRule = (PathWidthRule)base.m_coreRule;

            pathWidthRule.UseCustomWidths = true;
            base.SetRuleLegendProperties(pathWidthRule);
            base.SetRuleDistribution(pathWidthRule);
            this.SetPathRuleSizes(pathWidthRule.CustomWidths);
        }
Ejemplo n.º 2
0
 private void InitializeCustomColors(CustomColorCollection customColors, SpatialElementTemplateMapper spatialEementTemplateMapper)
 {
     foreach (CustomColor customColor in customColors)
     {
         customColor.BorderColor    = spatialEementTemplateMapper.GetBorderColor(false);
         customColor.SecondaryColor = spatialEementTemplateMapper.GetBackGradientEndColor(false);
         customColor.GradientType   = spatialEementTemplateMapper.GetGradientType(false);
         customColor.HatchStyle     = spatialEementTemplateMapper.GetHatchStyle(false);
         customColor.LegendText     = "";
         customColor.Text           = "";
     }
 }