FMX.Graphics.TBitmap Methods

From RAD Studio API Documentation
Jump to: navigation, search

_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.
ApplyMaskpublicApplies a specified mask on a TBitmap object, at a specified position.
BeforeDestructionpublicResponds before the first destructor executes.
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 TBitmap object and fills it with a specified color.
ClearRectpublicClears a rectangular area from a TBitmap image and fills it with a specified color.
CopyFromBitmappublicCopies a rectangular area from a specified bitmap to the current bitmap.
CreatepublicConstructs and initializes a TBitmap object with Width and Height specified by the AWidth and AHeight parameters.
CreateFromBitmapAndMaskpublicConstructs a TBitmap object by applying a mask to an existing TBitmap object.
CreateFromFilepublicConstructs a TBitmap object by loading its image content from a file specified by the AFileName parameter.
CreateFromStreampublicConstructs a TBitmap object by loading its image content from a TStream specified by the AStream parameter.
CreateMaskpublicCreates a mask from the current TBitmap image.
CreateThumbnailpublicCreates a thumbnail with specified dimensions for the current TBitmap object.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedSets the virtual properties for reading and writing bitmap data streams from and to a TStream object, respectively.
DestroypublicDisposes of the instance of the TBitmap object.
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.
DoChangeprotectedCalls the OnChange event handler if it is defined.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FlipHorizontalpublicHorizontally flips the TBitmap image.
FlipVerticalpublicVertically flips the TBitmap image.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
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.
HandleAllocatedpublicVerifies if the current bitmap has a handle allocated.
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.
InvertAlphapublicInverts the transparency coefficient (Alpha) for each color bit of the TBitmap image.
IsEmptypublicVerifies whether the current TBitmap is empty.
LoadFromFilepublicLoads from a file the image content of the current TBitmap object.
LoadFromStreampublicLoads from a stream the image content of the TBitmap object.
LoadThumbnailFromFilepublicLoads a thumbnail specified by the AFileName parameter and with specified dimensions from a file.
MappublicGets direct access to the bitmap data of the current TBitmap.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
operator ()publicCast operator for casting a TBitmap object into a _di_IFreeNotification or a _di_IStreamPersist.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
ReplaceOpaqueColorpublicReplaces all the opaque colors of the current bitmap with a specified color.
ResizepublicResizes the dimensions of the current TBitmap.
RotatepublicRotates the current TBitmap image at a certain angle.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SaveToFilepublicSaves the current TBitmap to a file.
SaveToStreampublicSaves the current TBitmap to a TStream.
SetSizepublicSets the size (height and width) of the bitmap.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnmappublicFinalizes the customizing session of the current bitmap.