Class TCastleRectangleControl
Unit
CastleControls
Declaration
type TCastleRectangleControl = class(TCastleUserInterface)
Description
Fill a rectangle on screen with given color or theme image.
Hierarchy
Overview
Methods
Properties
 |
property Color: TCastleColor read FColor write SetColor; |
 |
property ThemeImage: TThemeImage read FThemeImage write SetThemeImage; deprecated 'use TCastleImageControl to display images'; |
 |
property UseThemeImage: boolean read FUseThemeImage write SetUseThemeImage default false; deprecated 'use TCastleImageControl to display images'; |
 |
property InterceptInput: boolean read FInterceptInput write FInterceptInput
default false; deprecated 'in each case, there should be a cleaner way to disable something from processing the input'; |
 |
property ColorPersistent: TCastleColorPersistent read FColorPersistent ; |
Description
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure Render; override; |
|
 |
function Motion(const Event: TInputMotion): boolean; override; |
|
Properties
 |
property Color: TCastleColor read FColor write SetColor; |
Rectangle color. By default, opaque white.
|
 |
property ThemeImage: TThemeImage read FThemeImage write SetThemeImage; deprecated 'use TCastleImageControl to display images'; |
Warning: this symbol is deprecated: use TCastleImageControl to display images
Fill rectangle with theme image. You have to set UseThemeImage to true to take effect.
|
 |
property UseThemeImage: boolean read FUseThemeImage write SetUseThemeImage default false; deprecated 'use TCastleImageControl to display images'; |
Warning: this symbol is deprecated: use TCastleImageControl to display images
Use theme image for drawing instead of color.
|
 |
property InterceptInput: boolean read FInterceptInput write FInterceptInput
default false; deprecated 'in each case, there should be a cleaner way to disable something from processing the input'; |
Warning: this symbol is deprecated: in each case, there should be a cleaner way to disable something from processing the input
Prevents passing mouse/keyboard events to the controls underneath. More precisely, when this property is True , then the Press, Release and Motion events are marked as "handled" by this control.
|
 |
property ColorPersistent: TCastleColorPersistent read FColorPersistent ; |
Color that can be visually edited in Castle Game Engine Editor, Lazarus and Delphi. Normal user code does not need to deal with this, instead read or write Color directly.
See also
- Color
- Rectangle color.
|
Generated by PasDoc 0.16.0.