예제 #1
0
        public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthSource source, SvgLengthDirection direction, string defaultValue)
        {
            this.ownerElement = ownerElement;
            this.propertyName = propertyName;
            this.direction = direction;
            this.defaultValue = defaultValue;
            this.source = source;

            if(this.source == SvgLengthSource.Xml || this.source == SvgLengthSource.Css)
            {
                getCssXmlValue();
            }
        }
예제 #2
0
        public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthSource source, SvgLengthDirection direction, string defaultValue)
        {
            this.ownerElement = ownerElement;
            this.propertyName = propertyName;
            this.direction    = direction;
            this.defaultValue = defaultValue;
            this.source       = source;

            if (this.source == SvgLengthSource.Xml || this.source == SvgLengthSource.Css)
            {
                getCssXmlValue();
            }
        }
예제 #3
0
        public SvgLength(SvgElement ownerElement, string propertyName, SvgLengthSource source,
                         SvgLengthDirection direction, string defaultValue)
        {
            _ownerElement = ownerElement;
            _propertyName = propertyName;
            _direction    = direction;
            _defaultValue = defaultValue;
            _source       = source;

            if (_source == SvgLengthSource.Xml || _source == SvgLengthSource.Css)
            {
                GetCssXmlValue();
            }
        }