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