Пример #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);
        }
Пример #2
0
        public virtual PathWidthRule CreatePathRule()
        {
            PathWidthRule pathWidthRule = (PathWidthRule)(base.m_coreRule = new PathWidthRule());

            pathWidthRule.Text     = "";
            pathWidthRule.Category = base.m_mapVectorLayer.Name;
            pathWidthRule.Field    = "";
            base.m_coreMap.PathRules.Add(pathWidthRule);
            base.SetRuleFieldName();
            return(pathWidthRule);
        }
Пример #3
0
        internal virtual PathWidthRule CreatePathRule()
        {
            PathWidthRule pathWidthRule = (PathWidthRule)(m_coreRule = new PathWidthRule());

            pathWidthRule.Text     = "";
            pathWidthRule.Category = m_mapVectorLayer.Name;
            pathWidthRule.Field    = "";
            m_coreMap.PathRules.Add(pathWidthRule);
            SetRuleFieldName();
            return(pathWidthRule);
        }