SuperMap.WindowsPhone.Core.ShapeElement.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 ResetShapeBaseTransform(ShapeElement sb)
 {
     if (((sb.OriginX != this.Origin.X) || (sb.OriginY != this.Origin.Y)) || (sb.Resolution != this.Resolution))
     {
         sb.InvalidatePath(this.Resolution, this.OriginX, this.OriginY);
     }
 }