Class TCastleInspectorControl
Unit
CastleInspectorControl
Declaration
type TCastleInspectorControl = class(TUIControlFont)
Description
Add this on top of your 2D controls to have a nice inspector displaying names and borders of stuff under the mouse cursor.
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
 |
internal const DefaultPadding = 10; |
|
Methods
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
procedure BeforeRender; override; |
|
 |
procedure Render; override; |
|
 |
function CapturesEventsAtPosition(const Position: TVector2): boolean; override; |
|
 |
function Motion(const Event: TInputMotion): boolean; override; |
|
Properties
 |
property Color: TCastleColor read FColor write FColor; |
Text color. By default it's white.
|
 |
property Padding: Integer read FPadding write FPadding
default DefaultPadding; |
Padding between rect borders and text.
|
 |
property HasHorizontalAnchor stored false; |
|
 |
property HasVerticalAnchor stored false; |
|
 |
property HorizontalAnchorSelf stored false; |
|
 |
property HorizontalAnchorParent stored false; |
|
 |
property VerticalAnchorSelf stored false; |
|
 |
property VerticalAnchorParent stored false; |
|
 |
property KeepInFront stored false; |
|
Generated by PasDoc 0.15.0.
|