IGraphicsCore
Specifies methods that change the graphics of an image. The operations should not change the original image, but rather provide an altered version as a result.
Definition
Namespace:Telerik.Web.UI.ImageEditor
Assembly:Telerik.Web.UI.dll
Syntax:
public interface IGraphicsCore
Derived Classes:
Methods
Adds text to the image on the provided position.
Image AddText(Image original, Point position, ImageText text)
The original image being the base for the operation
positionPointThe top/left position relative to the original image.
textImageTextThe definition of the test to insert, including the content itself
Returns:The resultant image of the applied graphics method
Defines the changes of the pixel opacity of the provided Image
Converts the image to the specified format. This change may degrade the quality of the image.
Image ConvertTo(Image original, EditableFormat format)
The original image being the base for the operation
formatEditableFormatThe format of the resultant image
Returns:The resultant image of the applied graphics method
Crops the provided image using the specified rectangular box
Flips the image content in the specified direction
Image Flip(Image original, FlipDirection direction)
The original image being the base for the operation
directionFlipDirectionThe direction of the flip change.
Returns:The resultant image of the applied graphics method
Insert another image within the original image at the specified location.
Image InsertImage(Image original, Point position, Image imageToInsert)
The original image being the base for the operation
positionPointThe top/left coordinates relative to the original image.
imageToInsertImageThe image that should be inserted in the original image
Returns:The resultant image of the applied graphics method
Resizes the original image by shrinking or expanding it by the provided dimensions
Rotates the image using the enumerated rotation. Currently only rectangular angles' are supported - 90°, 180°, 270°