Class TCastleCrosshair
Unit
Declaration
type TCastleCrosshair = class(TCastleUserInterface)
Description
Display a simple crosshair in the middle of the parent control.
Hierarchy
- TObject
- TPersistent
- TComponent
- TCastleComponent
- TCastleUserInterface
- TCastleCrosshair
Overview
Methods
![]() |
procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
procedure Render; override; |
Properties
![]() |
property Shape: TCastleCrosshairShape read FShape write SetShape default csCross; |
![]() |
property HorizontalAnchorSelf default hpMiddle; |
![]() |
property HorizontalAnchorParent default hpMiddle; |
![]() |
property VerticalAnchorSelf default vpMiddle; |
![]() |
property VerticalAnchorParent default vpMiddle; |
Description
Methods
![]() |
procedure PreferredSize(var PreferredWidth, PreferredHeight: Single); override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
procedure Render; override; |
Properties
![]() |
property Shape: TCastleCrosshairShape read FShape write SetShape default csCross; |
![]() |
property HorizontalAnchorSelf default hpMiddle; |
By default, crosshair is centered. |
![]() |
property HorizontalAnchorParent default hpMiddle; |
![]() |
property VerticalAnchorSelf default vpMiddle; |
![]() |
property VerticalAnchorParent default vpMiddle; |
Generated by PasDoc 0.16.0.