Method | Description | |
---|---|---|
Bilinear ( float v00, float v01, float v10, float v11, float xPercent, float yPercent ) : float |
Performs bilinear interpolation between four values
|
|
ResizeImage ( |
Performs a high quality image resize
|
public static Bilinear ( float v00, float v01, float v10, float v11, float xPercent, float yPercent ) : float | ||
v00 | float | First, or top left value |
v01 | float | Second, or top right value |
v10 | float | Third, or bottom left value |
v11 | float | Fourth, or bottom right value |
xPercent | float | Interpolation value on the X axis, between 0.0 and 1.0 |
yPercent | float | Interpolation value on the Y axis, between 0.0 and 1.0 |
return | float |
public static ResizeImage ( |
||
image | Image to resize | |
width | int | New width |
height | int | New height |
return |