JCL Help:TJclBitmap32.DrawMode

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Specifies how the bitmap is displayed.


Pascal

 published property DrawMode: TDrawMode;


Description

Specifies how the bitmap should be combined with a background during pixel transfer and similar operations. In dmOpaque mode, new pixels simply replace the background pixels. In dmBlend mode, they are combined using the alpha blending operation. This property is used while copying one bitmap into another, scaling, performing linear transformations etc. The dmCustom mode allows implementation of custom blending functions using the OnPixelCombine call-back event. Blending in dmBlend mode, is performed using Blend or BlendEx functions.


See Also

TJclBitmap32.Blend TJclBitmap32.BlendEx TJclBitmap32.Draw TJclBitmap32.DrawTo TJclBitmap32.OnPixelCombine TDrawMode


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page