RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControlCanvas Members

The following tables list the members exposed by TControlCanvas.

 
Name 
Description 
 
Copies the properties of an object to a destination object. 
 
This is Changed, a member of class TCanvas. 
 
This is Changing, a member of class TCanvas. 
 
This is CreateHandle, a member of class TControlCanvas. 
 
Provides an interface for a method that reads and writes otherwise unpublished data. 
 
Returns the owner of an object. 
 
This is RequiredState, a member of class TCanvas. 
 
Name 
Description 
 
Occurs when the image has just changed. 
 
Occurs just before a change is made to the image. 
 
Name 
Description 
 
Responds after the last constructor has executed. 
 
Arc 
Draws an arc on the image along the perimeter of the ellipse bounded by the specified rectangle. 
 
Copies the contents of another, similar object. 
 
Responds before the first destructor executes. 
 
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. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Copies part of an image from another canvas into the canvas. 
 
Creates an instance of TCanvas
 
Constructs an object and initializes its data before the object is first used. 
 
Provides the interface for a method that processes message records. 
 
Destroys an instance of TControlCanvas
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Draw 
Renders the graphic specified by the Graphic parameter on the canvas at the location given by the coordinates (X, Y). 
 
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. 
 
Returns the address of a published object field. 
 
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. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Releases the handle to a device context (HDC) used by the control canvas object. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Returns the name of the object as it appears in the Object Inspector. 
 
Indicates whether the TCanvas object has acquired a handle to a device context. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Returns the size in bytes of each instance of the object type. 
 
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. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Changes the current drawing position to the point (X,Y). 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
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. 
 
Draws a rectangle with rounded corners on the canvas. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
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. 
 
This is UpdateTextFlags, a member of class TControlCanvas. 
 
Name 
Description 
 
Determines the orientation of the canvas as left-to-right or right-to-left. 
 
Read-only property that specifies the boundaries of the clipping rectangle. 
 
Specifies the control associated with the control canvas object. 
 
Specifies the handle for this canvas. 
 
Indicates the number of times the canvas has been locked to prevent interference from other threads. 
 
Specifies the current drawing position of the Pen
 
Specifies the color of the pixels within the current ClipRect
 
Specifies how text is written to the canvas. 
 
Name 
Description 
 
Determines the color and pattern for filling graphical shapes and backgrounds. 
 
Specifies how a graphical image is copied onto the canvas. 
 
Font 
Specifies the font to use when writing text on the image. 
 
Pen 
Specifies the kind of pen the canvas uses for drawing lines and outlining shapes. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!