LayoutFarm.Composers.EaseScriptElement.InvalidateCssBox C# (CSharp) Method

InvalidateCssBox() static private method

static private InvalidateCssBox ( CssBox cssbox ) : void
cssbox LayoutFarm.HtmlBoxes.CssBox
return void
        static void InvalidateCssBox(CssBox cssbox)
        {
            var rootGfx = (RootGraphic)cssbox.RootGfx;
            var rootCssBox = cssbox.GetTopRootCssBox() as RenderElementBridgeCssBox;
            if (rootCssBox != null)
            {
                //----------------------------------------
                //TODO: fix here
                //we not need to update entire HtmlBox
                //we should update only invalidate area
                //----------------------------------------
                rootCssBox.ContainerElement.InvalidateGraphics();
            }
        }
    }