예제 #1
0
 @Override
 public void getOutline(View view, Outline outline) {
   outline.setOval(
       view.getPaddingLeft(),
       view.getPaddingTop(),
       view.getWidth() - view.getPaddingRight(),
       view.getHeight() - view.getPaddingBottom());
 }
예제 #2
0
 @Override
 public void getOutline(View view, Outline outline) {
   outline.setOval(0, 0, width, height);
 }
예제 #3
0
 @Override
 public void setOval(int left, int top, int right, int bottom) {
   outline.setOval(left, top, right, bottom);
 }
예제 #4
0
 @Override
 public void setOval(Rect rect) {
   outline.setOval(rect);
 }
 @Override
 public final void getOutline(View view, Outline outline) {
   outline.setOval(0, 0, mSize, mSize);
 }