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

InvalidatePath() private method

private InvalidatePath ( double resolution, double originX, double originY ) : void
resolution double
originX double
originY double
return void
        internal void InvalidatePath(double resolution, double originX, double originY)
        {
            this.pathIsInvalid = true;
            this.Resolution = resolution;
            this.OriginX = originX;
            this.OriginY = originY;
            base.InvalidateMeasure();
            base.InvalidateArrange();
        }

Usage Example

 internal void ResetGeometryTransform(FeatureElement elm)
 {
     if (((elm.OriginX != this.Origin.X) || (elm.OriginY != this.Origin.Y)) || (elm.Resolution != this.Resolution))
     {
         elm.InvalidatePath(this.Resolution, this.OriginX, this.OriginY);
     }
 }