Exemplo n.º 1
0
        public static uiDrawClipPath create(uiPath path)
        {
            var drawClipPath = ObjectPool <uiDrawClipPath> .alloc();

            drawClipPath.path = path;
            return(drawClipPath);
        }
Exemplo n.º 2
0
        public static uiDrawPath create(uiPath path, uiPaint paint)
        {
            var drawPath = ObjectPool <uiDrawPath> .alloc();

            drawPath.path  = path;
            drawPath.paint = paint;
            return(drawPath);
        }