RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCanvas Methods

The methods of the TCanvas class are listed here.

 
Name 
Description 
 
This is Changed, a member of class TCanvas. 
 
This is Changing, a member of class TCanvas. 
 
This is CreateHandle, a member of class TCanvas. 
 
This is RequiredState, a member of class TCanvas. 
 
Name 
Description 
 
Arc 
Draws an arc on the image along the perimeter of the ellipse bounded by the specified rectangle. 
 
Copies a portion of a bitmap onto a rectangle on the canvas, replacing one of the colors of the bitmap with the brush of the canvas. 
 
Draws a closed figure represented by the intersection of a line and an ellipse. 
 
Copies part of an image from another canvas into the canvas. 
 
Draw 
This is the overview for the Draw method overload. 
 
Draws a rectangle in the style used to indicate that the object inside the rectangle has focus. 
 
This is the overview for the Ellipse method overload. 
 
Fills the specified rectangle on the canvas using the current brush. 
 
Fills an area of the canvas using the current brush. 
 
Draws a rectangle using the Brush of the canvas to draw the border. 
 
Indicates whether the TCanvas object has acquired a handle to a device context. 
 
Draws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y). 
 
Lock 
Prevents other threads from drawing on the canvas. 
 
Changes the current drawing position to the point (X,Y). 
 
Pie 
Draws a pie-shaped the section of the ellipse bounded by the rectangle (X1, Y1) and (X2, Y2) on the canvas. 
 
Draws a set of Bezier curves. 
 
Draws a set of Bezier curves and updates the value of PenPos
 
Draws a series of lines on the canvas connecting the points passed in and closing the shape by drawing a line from the last point to the first point. 
 
Draws a series of lines on the canvas with the current pen, connecting each of the points passed to it in Points. 
 
This is the overview for the Rectangle method overload. 
 
Deselects the Pen, Brush, and Font from the device context. 
 
This is the overview for the RoundRect method overload. 
 
Draws the graphic specified by the Graphic parameter in the rectangle specified by the Rect parameter. 
 
Returns the width and height, in pixels, of a string rendered in the current font. 
 
Returns the height, in pixels, of a string rendered in the current font. 
 
Writes a string on the canvas, starting at the point (X,Y), and then updates the PenPos to the end of the string. 
 
This is the overview for the TextRect method overload. 
 
Returns the width, in pixels, of a string rendered in the current font. 
 
Locks the canvas if it is currently unlocked. 
 
Decreases the LockCount property, allowing other threads to execute when LockCount reaches 0. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!