Revision da7ce0d8
Added by LeszekKoltunski over 8 years ago
src/main/java/org/distorted/library/DistortedBitmap.java | ||
---|---|---|
46 | 46 |
* |
47 | 47 |
* @param width width of the DistortedBitmap, in pixels. |
48 | 48 |
* @param height height of the DistortedBitmap, in pixels. |
49 |
* @param size Horizontal size of the distortion grid. 2<=size<256.
|
|
49 |
* @param gridSize Horizontal size of the distortion grid. 2<=size<256.
|
|
50 | 50 |
*/ |
51 | 51 |
public DistortedBitmap(int width, int height, int gridSize) |
52 | 52 |
{ |
... | ... | |
71 | 71 |
* The dimensions of the created DistortedBitmap object are the same like that of the passed Bitmap. |
72 | 72 |
* |
73 | 73 |
* @param bmp The android.graphics.Bitmap object to apply effects to and display. |
74 |
* @param size Horizontal size of the distortion grid. 1<=size<256.
|
|
74 |
* @param gridSize Horizontal size of the distortion grid. 1<=size<256.
|
|
75 | 75 |
*/ |
76 | 76 |
public DistortedBitmap(Bitmap bmp, int gridSize) |
77 | 77 |
{ |
src/main/java/org/distorted/library/DistortedNode.java | ||
---|---|---|
333 | 333 |
* Adds a new child to the last position in the list of our Node's children. |
334 | 334 |
* |
335 | 335 |
* @param node The new Node to add. |
336 |
* @return <code>true</code> if we successfully added the new child. |
|
337 | 336 |
*/ |
338 | 337 |
public synchronized void attach(DistortedNode node) |
339 | 338 |
{ |
src/main/java/org/distorted/library/DistortedObject.java | ||
---|---|---|
1081 | 1081 |
/** |
1082 | 1082 |
* Makes a certain sub-region of the Bitmap smoothly change its transparency level. |
1083 | 1083 |
* |
1084 |
* See {@link #alpha(int, Float4D, Float2D, int, float)}
|
|
1084 |
* See {@link #alpha(Interpolator1D, Float4D, Float2D)}
|
|
1085 | 1085 |
*/ |
1086 | 1086 |
public long smooth_alpha(Interpolator1D a, Float4D region, Float2D point) |
1087 | 1087 |
{ |
... | ... | |
1092 | 1092 |
/** |
1093 | 1093 |
* Makes a certain sub-region of the Bitmap smoothly change its transparency level. |
1094 | 1094 |
* |
1095 |
* See {@link #alpha(int, Float4D, Interpolator2D, int, float)}
|
|
1095 |
* See {@link #alpha(float, Float4D, Interpolator2D, int, float)}
|
|
1096 | 1096 |
*/ |
1097 | 1097 |
public long smooth_alpha(float alpha, Float4D region, Interpolator2D i, int duration, float count) |
1098 | 1098 |
{ |
... | ... | |
1109 | 1109 |
/** |
1110 | 1110 |
* Makes a certain sub-region of the Bitmap smoothly change its transparency level. |
1111 | 1111 |
* |
1112 |
* See {@link #alpha(int, Float4D, Float2D, int, float)}
|
|
1112 |
* See {@link #alpha(float, Float4D, Float2D, int, float)}
|
|
1113 | 1113 |
*/ |
1114 | 1114 |
public long smooth_alpha(float alpha, Float4D region, Float2D point, int duration, float count) |
1115 | 1115 |
{ |
... | ... | |
1126 | 1126 |
/** |
1127 | 1127 |
* Makes a certain sub-region of the Bitmap smoothly change its transparency level. |
1128 | 1128 |
* |
1129 |
* See {@link #alpha(int, Float4D, Float2D)}
|
|
1129 |
* See {@link #alpha(float, Float4D, Float2D)}
|
|
1130 | 1130 |
*/ |
1131 | 1131 |
public long smooth_alpha(float alpha, Float4D region, Float2D point) |
1132 | 1132 |
{ |
Also available in: Unified diff
Fix javadoc errors