[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Shows an image as graphics.library bitmap object
Source position: MUIClass.Image.pas line 46
type TMUIBitmap = class(TMUIArea) |
||
protected |
||
procedure GetCreateTags(); override; |
|
Fill TagList to create the bitmap item |
public |
||
constructor Create; override; |
|
Create an Bitmap object |
procedure CreateObject; override; |
|
Creates the MUI bitmap item |
property Bitmap: PBitmap; [rw] |
|
Pointer to a graphics.library Bitmap |
property MappingTable: PByte; [rw] |
|
Colortable to remape the Bitmap |
property Precision: Integer; [rw] |
|
Precision of the Color Remapping |
property RemappedBitmap: PBitmap; [r] |
|
Will hold the remapped Bitmap |
property SourceColors: PLongWord; [rw] |
|
Defines the colortable of the Bitmap |
published |
||
property UseFriend: Boolean; [rw] |
|
This attribute will make MUI to try to allocate the remapped bitmap in a way that allows fastest displaying. |
property Height: Integer; [rw] |
|
efine the pixel height of the BitMap. |
property Width: Integer; [rw] |
|
Define the pixel width of the BitMap. |
property Transparent: Integer; [rw] |
|
Use color entry as Transparent color |
end; |
|
Shows an image as graphics.library bitmap object |
|
| | ||
|
Super class for every other MUI class except windows and applications |
|
| | ||
|
Subclass of TNotify to introduce the Parent relation |
|
| | ||
|
Notify class is superclass of all other MUI classes. |
|
| | ||
|
Base class for all MUI Class |
|
| | ||
TObject |
The Bitmap class allows including self-made image data in MUI applications. Usually, image class was intended to be used for this purpose but unfortunately, its design was not very useful.
In its most simple usage, Bitmap class just display a given BitMap. However, you can also tell it to do automatic color remapping to match the current display context and you can define a transparent color to make the BitMap appear on any background.