@@ -0,0 +1,758 @@
+package com.dailystudio.app.utils;%0A%0Aimport android.graphics.Path;%0Aimport android.graphics.Rect;%0Aimport android.graphics.RectF;%0Aimport android.graphics.Region;%0A%0Apublic class VectorUtils %7B%0A%0A    public static RectF getTruncatedBounds(Path path) %7B%0A        RectF fBounds = new RectF();%0A        path.computeBounds(fBounds, true);%0A%0A        Rect realRegion = new Rect(%0A                (int)Math.floor(fBounds.left),%0A                (int)Math.floor(fBounds.top),%0A                (int)Math.floor(fBounds.right),%0A                (int)Math.floor(fBounds.bottom));%0A%0A%0A        Rect bounds = new Rect();%0A        Region region = new Region();%0A        region.setPath(path, new Region(realRegion));%0A        region.getBounds(bounds);%0A%0A        return new RectF(bounds);%0A    %7D%0A%0A%7D%0A

add vector utils class;