FMX.Graphics.TCanvas Methods

From RAD Studio API Documentation
Jump to: navigation, search

InheritedProtected
_AddRefprotectedIncrements the reference count for the interfaced object's interface.
_ReleaseprotectedDecrements the reference count for the interfaced object's interface.
AfterConstructionpublicObtains a reference to the Owner's interface.
AlignToPixelpublicReturns a location or rectangle of integer pixel coordinates based on the specified location or rectangle of virtual floating-point coordinates.
AlignToPixelHorizontallypublic
AlignToPixelVerticallypublic
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
BeforeDestructionpublicResponds before the first destructor executes.
BeginScenepublicNotifies the TCanvas object that the drawing can begin.
CheckDisposedprotected
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.
ClearpublicClears the surface of a TCanvas object.
ClearRectpublicClears a rectangular area from a TCanvas object.
CopyBitmappublic
Createpublic
CreateFromBitmapprotectedCreates and initializes a TCanvas from a TBitmap.
CreateFromPrinterprotectedCreates and initializes a TCanvas from a printer's native handle.
CreateFromWindowprotectedCreates and initializes a TCanvas from a parent window.
CreateSaveStateprotectedCreates a TCanvasSaveState object when the SaveState methods is called.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedProvides an interface for a method that reads and writes otherwise unpublished data.
DestroypublicDestroys the current TCanvas and its components, and then frees its memory.
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.
DoBeginSceneprotectedMakes the initialization required to begin drawing on the TCanvas object.
DoBlendingChangedprotected
DoCopyBitmapprotected
DoDrawBitmapprotected
DoDrawEllipseprotected
DoDrawLineprotected
DoDrawPathprotected
DoDrawPolygonprotected
DoDrawRectprotected
DoEndSceneprotectedMakes the required cleaning after drawing on the TCanvas object.
DoFillEllipseprotected
DoFillPathprotected
DoFillPolygonprotected
DoFillRectprotected
DoFillRoundRectprotected
DoFinalizeBitmapprotected
DoFlushprotected
DoInitializeBitmapprotected
DoMapBitmapprotected
DoSetMatrixprotectedTransforms the matrix.
DoUnmapBitmapprotected
DrawArcpublicDraws an arc as the part of an ellipse contour on the TCanvas.
DrawBitmappublicDraws a specified area from a TBitmap image after scaling it to a specified area of the TCanvas.
DrawDashRectpublicDraws a rectangle with rounded corners, using the standard TStrokeBrush pen, on the current TCanvas.
DrawEllipsepublicDraws an ellipse defined by a bounding rectangle structure on the current TCanvas.
DrawLinepublicDraws a line defined by two points on the current TCanvas.
DrawPathpublicDraws a path on the current TCanvas.
DrawPolygonpublicDraws a polygon on the current TCanvas.
DrawRectpublicDraws a rectangle with customized shapes of corners on the current TCanvas.
DrawRectSidespublicDraws the specified sides of a rectangle with customized shapes of corners on the current TCanvas.
EndScenepublicNotifies the TCanvas object that the drawing is complete.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExcludeClipRectpublicExcludes a rectangle area from the clipping area of TCanvas.
FieldAddresspublicReturns the address of a published object field.
FillArcpublicFills an arc on the TCanvas.
FillEllipsepublicFills an ellipse defined by a bounding rectangle structure and draws it on the current TCanvas.
FillPathpublicFills a path and displays it on the current TCanvas.
FillPolygonpublicFills a polygon and displays it on the current TCanvas.
FillRectpublicFills a rectangle with customized corners on the current TCanvas.
FillTextpublicDisplays a text string on a specified rectangle area of the current TCanvas.
FinalizeBitmappublic
Flushpublic
FontChangedprotectedTFont.OnChanged event dispatcher.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetAttributepublic
GetCanvasScaleprotected
GetCanvasStylepublic
GetDisposedprotectedGetter for the Disposed 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.
InheritsFrompublicDetermines the relationship of two object types.
InitializeprotectedInitializes the TCanvas properties when TCanvas is created.
InitializeBitmappublic
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.
IntersectClipRectpublicDefines the drawing area by intersecting the current clipping area of the TCanvas and a rectangle.
IsScaleIntegerpublicIndicates whether the scale is an integer value (True) or has a fractional part (False).
LoadFontFromStreampublicLoads a font family from a stream.
Lockpublic
MapBitmappublic
MeasureLinespublicMeasures the lines of a specified text with specified properties and framed in a specified rectangle.
MeasureTextpublicMeasures the area occupied by a text string with the specified alignments, flag, and current font, on the TCanvas.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
MultiplyMatrixpublicMultiplies the Matrix property.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
operator ()public
PtInPathpublicChecks whether a certain point belongs to a TPathData.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
RestoreStatepublicRestores the drawing and filling properties of the TCanvas to a saved state.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SaveStatepublicSaves the current drawing and filling properties of the TCanvas.
SetMatrixpublicSets the Matrix property.
SetSizepublic
TextHeightpublicReturns the height, in pixels, of a string rendered in the current Font.
TextToPathpublicCreates a TPathData from a text string with the specified alignments and the current font.
TextWidthpublicReturns the width, in pixels, of a string rendered in the current font.
ToStringpublicReturns a string containing the class name.
TransformPointprotected
TransformRectprotected
UnInitializeprotected
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
Unlockpublic
UnmapBitmappublic