Class TCastleCrosshair

Unit

Declaration

type TCastleCrosshair = class(TCastleUserInterface)

Description

Display a simple crosshair in the middle of the parent control.

Hierarchy

Overview

Methods

Protected procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override;
Public constructor Create(AOwner: TComponent); override;
Public procedure Render; override;

Properties

Published property Shape: TCastleCrosshairShape read FShape write SetShape default csCross;
Published property HorizontalAnchorSelf default hpMiddle;
Published property HorizontalAnchorParent default hpMiddle;
Published property VerticalAnchorSelf default vpMiddle;
Published property VerticalAnchorParent default vpMiddle;

Description

Methods

Protected procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override;
 
Public constructor Create(AOwner: TComponent); override;
 
Public procedure Render; override;
 

Properties

Published property Shape: TCastleCrosshairShape read FShape write SetShape default csCross;
 
Published property HorizontalAnchorSelf default hpMiddle;

By default, crosshair is centered.

Published property HorizontalAnchorParent default hpMiddle;
 
Published property VerticalAnchorSelf default vpMiddle;
 
Published property VerticalAnchorParent default vpMiddle;
 

Generated by PasDoc 0.16.0.