Vcl.Controls.TControlCanvas Methods
From RAD Studio API Documentation
InheritedProtected
AfterConstruction public Responds after the last constructor has executed.
AngleArc public Draws an arc on the image along the perimeter of the circle defined by the parameters.
Arc public Draws an arc on the image along the perimeter of the ellipse bounded by the specified rectangle.
ArcTo public
Assign public Copies the contents of another similar object.
AssignTo protected Copies the properties of an object to a destination object.
BeforeDestruction public Responds before the first destructor executes.
BrushCopy public 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.
Changed protected Called when the canvas is changed.
Changing protected Called before the canvas is changed.
CheckDisposed protected
Chord public Draws a closed figure represented by the intersection of a line and an ellipse.
ClassInfo public Returns a pointer to the run-time type information (RTTI) table for the object type.
ClassName public Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIs public Determines whether an object is of a specific type.
ClassParent public Returns the type of the immediate ancestor of a class.
ClassType public Returns the class reference for the object's class.
CleanupInstance public Performs finalization on long strings, variants, and interface variables within a class.
CopyRect public Copies part of an image from another canvas into the canvas.
Create public Creates a new TControlCanvas object.
CreateHandle protected Creates the underlying Windows device context object attached to the control owning the current canvas object.
DefaultHandler public Provides the interface for a method that processes message records.
DefineProperties protected Provides an interface for a method that reads and writes otherwise unpublished data.
Dispatch public Calls message-handling methods for the object, based on the contents of the Message parameter.
Draw public Renders the graphic specified by the Graphic parameter on the canvas at the location given by the coordinates (X, Y).
DrawFocusRect public Draws a rectangle in the style used to indicate that the object inside the rectangle has focus.
Ellipse public Draws the ellipse defined by a bounding rectangle on the canvas.
Equals public Checks whether the current instance and the Obj parameter are equal.
FieldAddress public Returns the address of a published object field.
FillRect public Fills the specified rectangle on the canvas using the current brush.
FloodFill public Fills an area of the canvas using the current brush.
Free public Destroys an object and frees its associated memory, if necessary.
FreeHandle public Releases the handle to a device context (HDC) used by the control canvas object.
FreeInstance public Deallocates memory allocated by a previous call to the NewInstance method.
GetCanvasOrientation protected Represents the getter method for the CanvasOrientation property.
GetClipRect protected Represents the getter method for the ClipRect property.
GetDisposed protected Getter for the Disposed property.
GetHashCode public Returns an integer containing the hash code.
GetInterface public Retrieves a specified interface.
GetInterfaceEntry public Returns the entry for a specific interface implemented in a class.
GetInterfaceTable public Returns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNamePath public Returns the name of the object as it appears in the Object Inspector.
GetOwner protected Returns the owner of an object.
HandleAllocated public Indicates whether the TCanvas object has acquired a handle to a device context.
InheritsFrom public Determines the relationship of two object types.
InitInstance public Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSize public Returns the size in bytes of each instance of the object type.
LineTo public 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 public Prevents other threads from drawing on the canvas.
MethodAddress public Returns the address of a class method by name.
MethodName public Returns the name of a class method by address.
MoveTo public Changes the current drawing position to the point (X,Y).
NewInstance public Allocates memory for an instance of an object type and returns a pointer to that new instance.
Pie public Draws a pie-shaped section of the ellipse bounded by the rectangle (X1, Y1) and (X2, Y2) on the canvas.
PolyBezier public Draws a set of Bezier curves.
PolyBezierTo public Draws a set of Bezier curves and updates the value of PenPos.
Polygon public 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.
Polyline public Draws a series of lines on the canvas with the current pen, connecting each of the points passed to it in Points.
QualifiedClassName public Returns the qualified name of the class.
Rectangle public Draws a rectangle on the canvas.
Refresh public Deselects the Pen, Brush, and Font from the device context.
RequiredState protected Changes the current state of the canvas to meet the given requirements.
RoundRect public Draws a rectangle with rounded corners on the canvas.
SafeCallException public Handles exceptions in methods declared using the safecall calling convention.
StretchDraw public Draws the graphic specified by the Graphic parameter in the rectangle specified by the Rect parameter.
TextExtent public Returns the width and height, in pixels, of a string rendered in the current font.
TextHeight public Returns the height, in pixels, of a string rendered in the current font.
TextOut public Writes a string on the canvas, starting at the point (X,Y), and then updates the PenPos to the end of the string.
TextRect public Writes a string inside a clipping rectangle.
TextWidth public Returns the width, in pixels, of a string rendered in the current font.
ToString public Returns a string containing the class name.
TryLock public Locks the canvas if it is currently unlocked.
UnitName public Returns the name of the unit where the class is defined.
UnitScope public Returns the class's unit scope.
Unlock public Decreases the LockCount property, allowing other threads to execute when LockCount reaches 0.
UpdateTextFlags public Updates the TextFlags property according to the Windows locale.