Vcl.Imaging.pngimage.TPngImage Methods
InheritedProtected
_AddRef | protected | Increments the reference count for the interfaced object's interface. |
_Release | protected | Decrements the reference count for the interfaced object's interface. |
AddtEXt | public | Add a textual key-value pair to the png image metadata. |
AddzTXt | public | Add a compressed textual key-value pair to the png image meta-data. |
AfterConstruction | public | Obtains a reference to the Owner's interface. |
Assign | public | Copies the properties and the contents of another graphical object. |
AssignHandle | public | Copies the properties and the contents of a bitmap object. |
AssignPNG | protected | Copies the properties and the contents of another TPngImage object. |
AssignTo | public | Copies the properties and the contents of the image to another graphical object. |
BeforeDestruction | public | Responds before the first destructor executes. |
CanLoadFromStream | public | |
Changed | protected | Called when graphic has changed. |
CheckDisposed | protected | This method is deprecated. |
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. |
Create | public | Creates a new instance of the TPngImage class. |
CreateAlpha | public | Transforms the png image and adds alpha channel information. |
CreateBlank | public | Creates a new blank instance of the TPngImage class. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
DefineProperties | protected | Set virtual property for reading and writing graphic data stream. |
Destroy | public | Frees an instance of the TPngImage class. |
DisableScaledDrawer | public | Disables scaled drawer for a graphic. |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
DoSetPalette | protected | Sets the color palette of the png image. |
Draw | public | Draws the png image on a canvas. |
DrawPartialTrans | protected | Draws the png image on a canvas with partial transparency. |
DrawTransparent | protected | Render graphic onto canvas at rectangle, blending with canvas's background. |
DrawUsingPixelInformation | public | Draws the png image on a canvas considering the pixel information. |
EnableScaledDrawer | public | Enables scaled drawer for a graphic |
Equals | public | Compare graphic to another TGraphic object and return true if objects contain same graphic. |
FieldAddress | public | Returns the address of a published object field. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
GetDisposed | protected | Getter for the Disposed property. |
GetEmpty | protected | Checks whether the png image is empty. |
GetHashCode | public | Returns an integer containing the hash code. |
GetHeader | protected | Returns the header of the png image. |
GetHeight | protected | Reads the vertical size of the png image in pixels. |
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. |
GetIsAnimating | protected | |
GetNamePath | public | Returns the name of the object as it appears in the Object Inspector. |
GetOwner | protected | Returns the owner of an object. |
GetPalette | protected | Reads the color palette of the png image. |
GetPixels | protected | Returns the color of a specified pixel. |
GetSupportsPartialTransparency | protected | Checks whether the png image supports partial transparency. |
GetTransparent | protected | Checks whether the png image supports transparency. |
GetWidth | protected | Reads the horizontal size of the png image in pixels. |
HasPixelInformation | public | Checks whether the png image contains pixel information. |
InheritsFrom | public | Determines the relationship of two object types. |
InitializeGamma | protected | Initializes the gamma values. |
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. |
LoadFromClipboardFormat | public | Loads the png image from a variable in Clipboard format. |
LoadFromFile | public | Loads a graphic image stored in a file. |
LoadFromResourceID | public | Loads a png image from a resource. |
LoadFromResourceName | public | Loads a png image from a resource. |
LoadFromStream | public | Loads a png image from a stream. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
operator () | public | |
Progress | protected | Generate OnProgress event when graphic is changing. |
QualifiedClassName | public | Returns the qualified name of the class. |
QueryInterface | public | Returns a reference to a specified interface if the object supports that interface. |
RaiseError | public | Raises an exception. |
ReadData | protected | Read graphic data from TStream. |
RemoveTransparency | public | |
Resize | public | Resizes the png image to the new dimensions. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SaveToClipboardFormat | public | Assigns the png image to a variable in Clipboard format. |
SaveToFile | public | Saves a graphics image to a file. |
SaveToStream | public | Saves a png image to a stream. |
SetHeight | protected | Sets the vertical size of the png image in pixels. |
SetPalette | protected | Sets the color palette of the png image. |
SetPixels | protected | Sets the color of a specified pixel. |
SetSize | public | Specifies the size of the graphic. |
SetTransparent | protected | Specify if graphic should be drawn transparently. |
SetWidth | protected | Sets the horizontal size of the png image in pixels. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
UpdateScaledDrawer | public | |
WriteData | protected | Write graphic data to TStream. |