Bind() public method

public Bind ( HtmlContainer htmlCont, Canvas canvas ) : void
htmlCont HtmlContainer
canvas PixelFarm.Drawing.Canvas
return void
Esempio n. 1
0
        internal static PaintVisitor GetSharedPaintVisitor(HtmlVisualRoot htmlVisualRoot, DrawBoard canvas)
        {
            PaintVisitor painter = (s_paintVisitorStock.Count == 0) ? new PaintVisitor() : s_paintVisitorStock.Dequeue();

            painter.Bind(htmlVisualRoot, canvas);
            return(painter);
        }