Class TCastleSimpleBackground

Unit

Declaration

type TCastleSimpleBackground = class(TCastleUserInterface)

Description

Warning: this symbol is deprecated: use TCastleRectangleControl with FullSize=true; note that by default it has White color, while TCastleSimpleBackground has by default Black color.

Fill the whole window with a simple color. This is very fast, but it unconditionally clears the whole window, and there is no blending (if your Color has some alpha, it is just copied to the color buffer).

To clear the rectangle with a color, with optional blending, use TCastleRectangleControl instead.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure Render; override;

Properties

Public property Width default 0;
Public property Height default 0;
Public property Color: TCastleColor read FColor write SetColor;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure Render; override;
 

Properties

Public property Width default 0;
 
Public property Height default 0;
 
Public property Color: TCastleColor read FColor write SetColor;

Background color. By default, this is black color with opaque alpha.


Generated by PasDoc 0.16.0.