Show: Delphi C++
Display Preferences

Vcl.Graphics.TCanvas.CopyMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CopyMode: TCopyMode read FCopyMode write FCopyMode default cmSrcCopy;

C++

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

Properties

Type Visibility Source Unit Parent
property published
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics 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 Examples


Personal tools
In Other Languages
Previous Versions
Assistance