Method | Description | |
---|---|---|
Crop ( Image image, |
||
FastProportionalScale ( Image image, int targetWidth, int targetHeight ) : Image | ||
FastResize ( Image originalImage, int newWidth, int newHeight ) : Image | ||
GetRectangle ( Point point1, Point point2 ) : |
||
Multiply ( |
||
ProportionalScale ( int actualWidth, int actualHeight, int targetWidth, int targetHeight ) : |
||
ProportionalScaleRatio ( int actualWidth, int actualHeight, int targetWidth, int targetHeight ) : decimal | ||
QualityProportionalScale ( Image image, int targetWidth, int targetHeight ) : Image | ||
QualityResize ( Image originalImage, int newWidth, int newHeight ) : Image | ||
ZoomArea ( Point startDragLocation, Point endDragLocation, |
Method | Description | |
---|---|---|
Resize ( Image originalImage, int newWidth, int newHeight, CompositingQuality compositingQuality, SmoothingMode smoothingMode, InterpolationMode interpolationMode, PixelOffsetMode pixelOffsetmode ) : Image |
public static Crop ( Image image, |
||
image | Image | |
area | ||
return | Image |
public static FastProportionalScale ( Image image, int targetWidth, int targetHeight ) : Image | ||
image | Image | |
targetWidth | int | |
targetHeight | int | |
return | Image |
public static FastResize ( Image originalImage, int newWidth, int newHeight ) : Image | ||
originalImage | Image | |
newWidth | int | |
newHeight | int | |
return | Image |
public static GetRectangle ( Point point1, Point point2 ) : |
||
point1 | Point | |
point2 | Point | |
return |
public static Multiply ( |
||
rectangle | ||
factor | decimal | |
return |
public static ProportionalScale ( int actualWidth, int actualHeight, int targetWidth, int targetHeight ) : |
||
actualWidth | int | |
actualHeight | int | |
targetWidth | int | |
targetHeight | int | |
return |
public static ProportionalScaleRatio ( int actualWidth, int actualHeight, int targetWidth, int targetHeight ) : decimal | ||
actualWidth | int | |
actualHeight | int | |
targetWidth | int | |
targetHeight | int | |
return | decimal |
public static QualityProportionalScale ( Image image, int targetWidth, int targetHeight ) : Image | ||
image | Image | |
targetWidth | int | |
targetHeight | int | |
return | Image |
public static QualityResize ( Image originalImage, int newWidth, int newHeight ) : Image | ||
originalImage | Image | |
newWidth | int | |
newHeight | int | |
return | Image |
public static ZoomArea ( Point startDragLocation, Point endDragLocation, |
||
startDragLocation | Point | |
endDragLocation | Point | |
originalSize | ||
targetSize | ||
border | ||
return |