Class TCastleRectangleControl

Unit

Declaration

type TCastleRectangleControl = class(TUIControlSizeable)

Description

Fill a rectangle on screen with given color.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure Render; override;
Public function Press(const Event: TInputPressRelease): boolean; override;
Public function Release(const Event: TInputPressRelease): boolean; override;
Public function Motion(const Event: TInputMotion): boolean; override;

Properties

Public property Color: TCastleColor read FColor write SetColor;
Public property InterceptInput: boolean read FInterceptInput write FInterceptInput default false;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure Render; override;
 
Public function Press(const Event: TInputPressRelease): boolean; override;
 
Public function Release(const Event: TInputPressRelease): boolean; override;
 
Public function Motion(const Event: TInputMotion): boolean; override;
 

Properties

Public property Color: TCastleColor read FColor write SetColor;

Rectangle color. By default, opaque white.

Public property InterceptInput: boolean read FInterceptInput write FInterceptInput default false;

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.


Generated by PasDoc 0.15.0.