Метод | Описание | |
---|---|---|
Bilinear ( float v00, float v01, float v10, float v11, float xPercent, float yPercent ) : float |
Performs bilinear interpolation between four values
|
|
ResizeImage ( Image image, int width, int height ) : |
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 |
Результат | float |
public static ResizeImage ( Image image, int width, int height ) : |
||
image | Image | Image to resize |
width | int | New width |
height | int | New height |
Результат |