Graphics.TCanvas.CopyMode

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Graphics.pas

	property CopyMode: Integer read FCopyMode write FCopyMode;


Unit: Graphics

Type: property

Visibility: published

Member Of: TCanvas

C++ Information

From Graphics.hpp

	__property int CopyMode = {read=FCopyMode,write=FCopyMode};


Unit: Graphics

Type: property

Visibility: public

Member Of: TCanvas

Description

Specifies how a graphical image is copied onto the canvas.


Set CopyMode to affect the way graphical images are drawn onto the canvas. The CopyMode is used when copying an image from another canvas using the CopyRect method. CopyMode is also used by TBitmap objects when they draw themselves to a canvas.

Use CopyMode to achieve a variety of affects when rendering an image. Achieve special effects like merged images and making parts of a bitmap transparent by combining multiple images with different CopyModes.

See Also

Code Samples


Personal tools
Translations
Newest Version