Vcl.Controls.TControlCanvas Methods

From RAD Studio API Documentation
Jump to: navigation, search

AfterConstructionpublicResponds after the last constructor has executed.
AngleArcpublicDraws an arc on the image along the perimeter of the circle defined by the parameters.
ArcpublicDraws an arc on the image along the perimeter of the ellipse bounded by the specified rectangle.
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
BeforeDestructionpublicResponds before the first destructor executes.
BrushCopypublicCopies 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.
ChangedprotectedCalled when the canvas is changed.
ChangingprotectedCalled before the canvas is changed.
ChordpublicDraws a closed figure represented by the intersection of a line and an ellipse.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
CopyRectpublicCopies part of an image from another canvas into the canvas.
CreatepublicCreates a new TControlCanvas object.
CreateHandleprotectedCreates the underlying Windows device context object attached to the control owning the current canvas object.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedProvides an interface for a method that reads and writes otherwise unpublished data.
DestroypublicDestroys an instance of TControlCanvas.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DrawpublicRenders the graphic specified by the Graphic parameter on the canvas at the location given by the coordinates (X, Y).
DrawFocusRectpublicDraws a rectangle in the style used to indicate that the object inside the rectangle has focus.
EllipsepublicDraws the ellipse defined by a bounding rectangle on the canvas.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FillRectpublicFills the specified rectangle on the canvas using the current brush.
FloodFillpublicFills an area of the canvas using the current brush.
FrameRectpublicDraws a rectangle using the Brush of the canvas to draw the border.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeHandlepublicReleases the handle to a device context (HDC) used by the control canvas object.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetCanvasOrientationprotectedRepresents the getter method for the CanvasOrientation property.
GetClipRectprotectedRepresents the getter method for the ClipRect property.
GetDisposedprotectedGetter for the Disposed property.
GetHandleprotectedRepresents the getter method for the Handle property.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNamePathpublicReturns the name of the object as it appears in the Object Inspector.
GetOwnerprotectedReturns the owner of an object.
GetPenPosprotectedRepresents the getter method for the PenPos property.
GetPixelprotectedRepresents the getter method for the Pixels property.
HandleAllocatedpublicIndicates whether the TCanvas object has acquired a handle to a device context.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
LineTopublicDraws a line on the canvas from PenPos to the point specified by X and Y, and sets the pen position to (X, Y).
LockpublicPrevents other threads from drawing on the canvas.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MoveTopublicChanges the current drawing position to the point (X,Y).
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
PiepublicDraws a pie-shaped section of the ellipse bounded by the rectangle (X1, Y1) and (X2, Y2) on the canvas.
PolyBezierpublicDraws a set of Bezier curves.
PolyBezierTopublicDraws a set of Bezier curves and updates the value of PenPos.
PolygonpublicDraws 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.
PolylinepublicDraws a series of lines on the canvas with the current pen, connecting each of the points passed to it in Points.
QualifiedClassNamepublicReturns the qualified name of the class.
RectanglepublicDraws a rectangle on the canvas.
RefreshpublicDeselects the Pen, Brush, and Font from the device context.
RequiredStateprotectedChanges the current state of the canvas to meet the given requirements.
RoundRectpublicDraws a rectangle with rounded corners on the canvas.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetBrushprotectedRepresents the setter method for the Brush property.
SetFontprotectedRepresents the setter method for the Font property.
SetHandleprotectedRepresents the setter method for the Handle property.
SetPenprotectedRepresents the setter method for the Pen property.
SetPenPosprotectedRepresents the setter method for the PenPos property.
SetPixelprotectedRepresents the setter method for the Pixels property.
StretchDrawpublicDraws the graphic specified by the Graphic parameter in the rectangle specified by the Rect parameter.
TextExtentpublicReturns the width and height, in pixels, of a string rendered in the current font.
TextHeightpublicReturns the height, in pixels, of a string rendered in the current font.
TextOutpublicWrites a string on the canvas, starting at the point (X,Y), and then updates the PenPos to the end of the string.
TextRectpublicWrites a string inside a clipping rectangle.
TextWidthpublicReturns the width, in pixels, of a string rendered in the current font.
ToStringpublicReturns a string containing the class name.
TryLockpublicLocks the canvas if it is currently unlocked.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnlockpublicDecreases the LockCount property, allowing other threads to execute when LockCount reaches 0.
UpdateTextFlagspublicUpdates the TextFlags property according to the Windows locale.