[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgImageBase

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

Abstract class used to represent a Image

Declaration

Source position: fpg_base.pas line 228

type TfpgImageBase = class(TObject)

public

  constructor Create;

  destructor Destroy; override;

  procedure Invert();

  

Inverts the Image

  procedure FreeImage;

  procedure AllocateImage();

  

Allocates OS resources for the Image

  procedure AllocateMask;

  

Allocates OS resources for the Image Mask

  procedure CreateMaskFromSample();

  

Creates a mask based on the sample point presented by X and Y parameters

  procedure UpdateImage;

  

Updates the internal image resources and OS resources from image data

  property ImageData: pointer; [r]

  

Internal representation of color data of the image

  property ImageDataSize: Integer; [r]

  

Tells you the size of the image data

  property MaskData: pointer; [r]

  property MaskDataSize: Integer; [r]

  property Width: Integer; [r]

  

Width of the image

  property Height: Integer; [r]

  

Height of the image

  property ColorDepth: Integer; [r]

  

Color depth of the image. Currently 24/32-bit is all that is supported.

  property Masked: Boolean; [r]

  property MaskPoint: TPoint; [r]

  property Colors: TfpgColor; [rw]

  

Array property to access a specific color of the image based on X and Y co-ordinates

end;

Inheritance

TfpgImageBase

  

Abstract class used to represent a Image

|

TObject


Documentation generated on: 2015-04-04