SuperMap.WindowsPhone.Core.FeatureElement.SetPath C# (CSharp) Method

SetPath() private method

private SetPath ( ) : void
return void
        internal void SetPath()
        {
            if (this.pathIsInvalid)
            {
                if (this.GetPathChild() != null)
                {
                    Geometry geometry = this.ClippedGeometry ?? this.Geometry;
                    if (geometry is GeoLine)
                    {
                        this.PathGeometry = this.BuildGeoLine((GeoLine)geometry);
                    }
                    else if (geometry is GeoRegion)
                    {
                        this.PathGeometry = this.BuildGeoRegion((GeoRegion)geometry);
                    }
                    else if (geometry is GeoCircle)
                    {
                        this.PathGeometry = this.BuildGeoCircle((GeoCircle)geometry);
                    }
                }
                this.pathIsInvalid = false;
            }
        }