Skip to main content
Pie
ra0

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCanvas.Draw(Integer,Integer,TGraphic,Byte) Method

Draws a specified image on the canvas.

#Declaration

Delphi
procedure Draw(X: Integer; Y: Integer; Graphic: TGraphic; Opacity: Byte); overload;

#Parameters

Name Type
X Integer
Y Integer
Graphic TGraphic
Opacity Byte

#Remarks

Call this procedure and pass an image container as the Graphic parameter to draw its content on the canvas. Use the X and Y parameters to specify the image origin’s position as offsets in pixels. The second overloaded procedure allows you to blend the image with the canvas. Use the Opacity parameter to pass an opacity level.

See Also