Code example for Path

Methods: addCirclecloselineTomoveTo

        float h=80f, w=20f;
        float b = bold ? WEIGHT_BOLD : WEIGHT_NORMAL;
        float c = bold ? WEIGHT_BOLD-2 : WEIGHT_NORMAL; float b2 = b*(float)Math.sqrt(2f),
              b3 = b+b2;
        path.moveTo(w, 0f);
        path.lineTo(   w,    w);
        path.lineTo(  -w,    w);
        path.lineTo(  -w,   0f);
        path.lineTo(   w,   0f);
        path.moveTo( w-c,    c);
        path.lineTo(-w+c,    c);
        path.lineTo(-w+c,  w-c);
        path.lineTo( w-c,  w-c);
        path.lineTo( w-c,    c);
        path.moveTo(   w, -w/2);
        path.lineTo(   w,   -w);
        path.lineTo( 2*w,   -w);
        path.lineTo(  0f, -3*w);
        path.lineTo(-2*w,   -w);
        path.lineTo(  -w,   -w);
        path.lineTo(  -w, -w/2);
        path.lineTo(   w, -w/2);
        path.moveTo(    w-b,  -w/2-b);
        path.lineTo(   -w+b,  -w/2-b);
        path.lineTo(   -w+b,    -w-b);
        path.lineTo(-2*w+b3,    -w-b);
        path.lineTo(     0f, -3*w+b2);
        path.lineTo( 2*w-b3,    -w-b);
        path.lineTo(    w-b,    -w-b);
        path.lineTo(    w-b,  -w/2-b);
        path.addCircle(-2*w+2*WEIGHT_NORMAL, -3*w+2*WEIGHT_NORMAL, 2*WEIGHT_NORMAL, Path.Direction.CW);
    protected final void modifyBounds(RectF bounds, boolean bold) { -= 10f;
Connect your IDE to all the code out there  Get Codota for Java