public void setSize ( int width , int height ) { final float r = width * 0.75f / SIN ; final float y = COS * r ; final float h = r - y ; final float or = height * 0.75f / SIN ; final float oy = COS * or ; final float oh = or - oy ; mRadius = r ; mBaseGlowScale = h > 0 ? Math . min ( oh / h , 1.f ) : 1.f ; mBounds . set ( mBounds . left , mBounds . top , width , ( int ) Math . min ( height , h ) ) ; }
Set the size of this edge effect in pixels .