- (UIBezierPath*)alignToBottomPath:(UIBezierPath*)path layer:(CALayer*)layer{
CGFloat diff = CGRectGetMaxY(layer.bounds) - CGRectGetMaxY(path.bounds);
CGAffineTransform affineTransform = CGAffineTransformTranslate(CGAffineTransformIdentity, 0, diff);
[path applyTransform:affineTransform];
return path;
}
