KalikoImage Class Members

Kaliko Image Library

Kaliko.ImageLibrary
KalikoImage Class Members
Properties  Methods 

The following tables list the members exposed by KalikoImage.

Public Constructors
 NameDescription
Public ConstructorKalikoImage ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public PropertyBackgroundColorColor used for background.  
Public PropertyByteArrayByte array matching PixelFormat.Format32bppArgb (bgrA in real life).  
Public PropertyColorColor used for graphical operations such as writing text on image.  
Public PropertyHeightImage height.  
Public PropertyImageRatioWidth/height ratio of image.  
Public PropertyIndexedPaletteCheck if the current image has an indexed palette.  
Public PropertyIntArrayInt array matching PixelFormat.Format32bppArgb (bgrA in real life)  
Public PropertyIsLandscapeReturns true if image has landscape ratio (wider than high).  
Public PropertyIsPortraitReturns true if image has portrait ratio (higher than wide).  
Public PropertyIsSquareReturns true if image has a 1:1 ratio (same width and height).  
Public PropertySizeSize of the image  
Public PropertyTextRenderingHintRendering mode for text operations.  
Public PropertyWidthImage width.  
Top
Public Methods
 NameDescription
Public MethodApplyFilterApply a filter to the current Image.  
Public MethodBlitFillOverloaded. Loads the defined image and use it as a pattern to fill the image (will be tiled if the destination image is larger than the source image).  
Public MethodBlitImageOverloaded. Will load an image and place it on the destination image at top left corner.  
Public MethodClearClear the image and set background image to the specified color.  
Public MethodCloneCreate a new image as a clone.  
Public MethodCropCrop the image into the given dimensions.  
Public MethodDestroy  
Public MethodDisposeOverloaded.   
Public MethodGradientFillOverloaded. Makes a gradient fill top to bottom from one color to another.  
Public MethodLoadImageOverloaded. Load an image from local disk  
Public MethodLoadImageFromUrlLoad an image from an URL  
Public MethodResizeResizes the image without any consideration of the current ratio. If you wish to make a ratio locked resize use Scale Method instead.  
Public MethodSaveBmpOverloaded.   
Public MethodSaveGifOverloaded.   
Public MethodSaveImageGeneric method that will save the image in the specified ImageFormat.  
Public MethodSaveJpgOverloaded. Save image to file in JPG-format.  
Public MethodSavePngOverloaded.   
Public MethodScaleScale the image using a defined scaling engine which can be CropScaling Class will crop the image so that the final result always has the given dimension, FitScaling Class will ensure that the complete image is visible inside the given dimension or PadScaling Class that will pad the image so that it cover the given dimension.  
Public MethodSetFontSet the font that will be used for text operations.  
Public MethodStreamGifSave image to the response stream in GIF-format. Ideal for sending realtime generated images to the web client requesting it.  
Public MethodStreamJpgSave image to the response stream in JPG-format. Ideal for sending realtime generated images to the web client requesting it.  
Public MethodStreamPngSave image to the response stream in PNG-format. Ideal for sending realtime generated images to the web client requesting it.  
Public MethodWriteTextOverloaded. Write text to image using the font assigned using SetFont Method.  
Top
Protected Methods
 NameDescription
Protected MethodFinalize  
Top
See Also

This documentation was created using Document! X from Innovasys