User Tools

Site Tools


api:dk11:delphi:fmx.giscontrolnortharrow.tgis_controlnortharrow



TGIS_ControlNorthArrow class

DK for Delphi | FMX.GisControlNorthArrow.TGIS_ControlNorthArrow | Classes | Constructors | Methods | Properties | Events

FMX visual control for displaying a map north arrow linked to a TGIS_ViewerWnd.

Available also on: .NET WinForms | Java | ActiveX | Python.

Syntax

// Delphi
type
  [ComponentPlatformsAttribute(pidAllPlatforms)]
  TGIS_ControlNorthArrow = class( TStyledControl, IGIS_Subscribe, IGIS_PrintableControl )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ControlNorthArrow : public TStyledControl
{
};

Inheritance

→ TStyledControl

Implements

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Create the control.
Destroy public Destroy the control.

Methods

Inherited Overrides Protected
Name Visibility Description
CreateCopy public Prepare a copy of the control for printing.
(Implements IGIS_PrintableControl.CreateCopy)
DoPaint protected Paint the control.
DrawBmp public Draws the control on a bitmap.
FreeCopy public Release a copy of the control created for printing.
(Implements IGIS_PrintableControl.FreeCopy)
PrintBmp public Print the control on the given bitmap.
(Implements IGIS_PrintableControl.PrintBmp)
PrintClipboard public Copies the control rendering to the clipboard.
PrintPdf public Print the control on the given PDF context.
(Implements IGIS_PrintableControl.PrintPdf)
SubscribedEvent public Handles a viewer subscription notification.
(Implements IGIS_Subscribe.SubscribedEvent)

Properties

Inherited Protected
Name Visibility Description
Align published Standard FMX property.
Anchors published Standard FMX property.
ClipChildren published Standard FMX property.
ClipParent published Standard FMX property.
Color1 published Fill color.
Color2 published Outline color.
Cursor published Standard FMX property.
DragMode published Standard FMX property.
Enabled published Standard FMX property.
EnableDragHighlight published Standard FMX property.
GIS_Viewer published Attached viewer.
Glow published Draw a glowing shadow around the symbol.
Height published Standard FMX property.
HitTest published Standard FMX property.
InternalName published Used internally by TatukGIS.
(Implements IGIS_PrintableControl.InternalName)
Locked published Standard FMX property.
Margins published Standard FMX property.
Opacity published Standard FMX property.
Padding published Standard FMX property.
Path published Symbol path.
PopupMenu published Standard FMX property.
Position published Standard FMX property.
RotationAngle published Standard FMX property.
RotationCenter published Standard FMX property.
Scale published Standard FMX property.
Size published Standard FMX property.
Style published Symbol style, used if Path is empty.
Visible published Standard FMX property.
Width published Standard FMX property.

Events

Inherited Protected
Name Visibility Description
OnClick published Standard FMX event.
OnDblClick published Standard FMX event.
OnDragDrop published Standard FMX event.
OnDragEnd published Standard FMX event.
OnDragEnter published Standard FMX event.
OnDragLeave published Standard FMX event.
OnDragOver published Standard FMX event.
OnMouseDown published Standard FMX event.
OnMouseEnter published Standard FMX event.
OnMouseLeave published Standard FMX event.
OnMouseMove published Standard FMX event.
OnMouseUp published Standard FMX event.
OnMouseWheel published Standard FMX event.
OnPaint published Standard FMX event.
OnPainting published Standard FMX event.
OnResize published Standard FMX event.

Remarks

PURPOSE: Displays a north arrow on a form or other FMX container so users can see map orientation in relation to the attached viewer.

BEHAVIOR: The control subscribes to viewer notifications and repaints when the attached TGIS_ViewerWnd updates. Rendering can use a predefined symbol style or a custom symbol path, with Path taking precedence when it is not empty.

USAGE: Place the control on a form and connect GIS_Viewer to the target TGIS_ViewerWnd instance.

CONSTRAINTS: The control is intended for FMX applications and requires an attached viewer for synchronized map-orientation updates.

2026/08/30 01:46

Page Tools