[Overview][Classes][Index] Reference for unit 'MUIClass.Image' (#MUIClass)

TMUIBitmap

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Shows an image as graphics.library bitmap object

Declaration

Source position: MUIClass.Image.pas line 46

type TMUIBitmap = class(TMUIArea) end;

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

Inheritance

TMUIBitmap

  

Shows an image as graphics.library bitmap object

|

TMUIArea

  

Super class for every other MUI class except windows and applications

|

TMUIWithParent

  

Subclass of TNotify to introduce the Parent relation

|

TMUINotify

  

Notify class is superclass of all other MUI classes.

|

TMUIRootClass

  

Base class for all MUI Class

|

TObject

Description

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.


Documentation generated on: 2019-09-21