Class TAdCustomVideoPlayer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdCustomVideoPlayer = class(TAdVideoTexture)

Description

The base video player class. TAdCustomVideoPlayer expands TAdVideoTexture in the capability of drawing the video in many ways. Reading from files or streams is not supported in this class, use TAdVideoPlayer instead

Hierarchy

Overview

Methods

Public constructor Create(AParent: TAdDraw);
Public destructor Destroy; override;
Public procedure Draw(ASurface: TAdDraw; ADestRect: TAdRect); virtual;

Properties

Public property Proportional: boolean read FProportional write FProportional;
Public property Stretch: boolean read FStretch write FStretch;
Public property Center: boolean read FCenter write FCenter;
Public property Image: TAdImage read FImage;

Description

Methods

Public constructor Create(AParent: TAdDraw);

Creates an instance of TAdCustomVideoPlayer

Public destructor Destroy; override;

Destroys the instance of TAdCustomVideoPlayer and all created objects.

Public procedure Draw(ASurface: TAdDraw; ADestRect: TAdRect); virtual;

Draws the video on a surface and

Properties

Public property Proportional: boolean read FProportional write FProportional;

Specifies wheter the image should be streched propertional.

Public property Stretch: boolean read FStretch write FStretch;

If true, the video is streched to the rectangle defined in the draw procedure.

Public property Center: boolean read FCenter write FCenter;

If true, the video is centered when drawing.

Public property Image: TAdImage read FImage;

The image, that is actually drawn.

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00