Class TBGRAArrow

Unit

Declaration

type TBGRAArrow = class(TBGRACustomArrow)

Description

Implementation of arrow computation

Hierarchy

Overview

Methods

Public constructor Create;
Public function ComputeEndAt(const APosition: TPointF; const ADirection: TPointF; const AWidth: single; const ACurrentPos: single): ArrayOfTPointF; override;
Public function ComputeStartAt(const APosition: TPointF; const ADirection: TPointF; const AWidth: single; const ACurrentPos: single): ArrayOfTPointF; override;
Protected function GetEndOffsetX: single; override;
Protected function GetEndRepeatCount: integer; override;
Protected function GetEndSizeFactor: TPointF; override;
Protected function GetIsEndDefined: boolean; override;
Protected function GetIsStartDefined: boolean; override;
Protected function GetLineCap: TPenEndCap; override;
Protected function GetStartOffsetX: single; override;
Protected function GetStartRepeatCount: integer; override;
Protected function GetStartSizeFactor: TPointF; override;
Public procedure EndAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); override;
Public procedure EndAsNone; override;
Public procedure EndAsTail; override;
Public procedure EndAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); override;
Public procedure StartAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); override;
Public procedure StartAsNone; override;
Public procedure StartAsTail; override;
Public procedure StartAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); override;
Protected procedure SetEnd(AStyle: TBGRAArrowStyle; ATipStyle: TPenJoinStyle = pjsMiter; ARelativePenWidth: single = 1; ATriangleBackOffset: single = 0);
Protected procedure SetEndOffsetX(AValue: single); override;
Protected procedure SetEndRepeatCount(AValue: integer); override;
Protected procedure SetEndSizeFactor(AValue: TPointF); override;
Protected procedure SetLineCap(AValue: TPenEndCap); override;
Protected procedure SetStart(AStyle: TBGRAArrowStyle; ATipStyle: TPenJoinStyle = pjsMiter; ARelativePenWidth: single = 1; ATriangleBackOffset: single = 0);
Protected procedure SetStartOffsetX(AValue: single); override;
Protected procedure SetStartRepeatCount(AValue: integer); override;
Protected procedure SetStartSizeFactor(AValue: TPointF); override;

Description

Methods

Public constructor Create;

This item has no description.

Public function ComputeEndAt(const APosition: TPointF; const ADirection: TPointF; const AWidth: single; const ACurrentPos: single): ArrayOfTPointF; override;

This item has no description. Showing description inherited from TBGRACustomArrow.ComputeEndAt.

Computes the end of the arrow at a given position and direction

Public function ComputeStartAt(const APosition: TPointF; const ADirection: TPointF; const AWidth: single; const ACurrentPos: single): ArrayOfTPointF; override;

This item has no description. Showing description inherited from TBGRACustomArrow.ComputeStartAt.

Computes the start of the arrow at a given position and direction

Protected function GetEndOffsetX: single; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetEndOffsetX.

Retrieves the X-offset for the end of the arrow

Protected function GetEndRepeatCount: integer; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetEndRepeatCount.

Retrieves the repeat count for the end symbol

Protected function GetEndSizeFactor: TPointF; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetEndSizeFactor.

Retrieves the size factor for the end of the arrow

Protected function GetIsEndDefined: boolean; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetIsEndDefined.

Determines if the end of the arrow is defined

Protected function GetIsStartDefined: boolean; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetIsStartDefined.

Determines if the start of the arrow is defined

Protected function GetLineCap: TPenEndCap; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetLineCap.

Retrieves the line cap style for the classic arrow

Protected function GetStartOffsetX: single; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetStartOffsetX.

Retrieves the X-offset for the start of the arrow

Protected function GetStartRepeatCount: integer; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetStartRepeatCount.

Retrieves the repeat count for the start symbol

Protected function GetStartSizeFactor: TPointF; override;

This item has no description. Showing description inherited from TBGRACustomArrow.GetStartSizeFactor.

Retrieves the size factor for the start of the arrow

Public procedure EndAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); override;

This item has no description. Showing description inherited from TBGRACustomArrow.EndAsClassic.

Sets the end of the arrow to a classic style

Public procedure EndAsNone; override;

This item has no description. Showing description inherited from TBGRACustomArrow.EndAsNone.

Sets the end of the arrow to no style

Public procedure EndAsTail; override;

This item has no description. Showing description inherited from TBGRACustomArrow.EndAsTail.

Sets the end of the arrow to a tail style

Public procedure EndAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); override;

This item has no description. Showing description inherited from TBGRACustomArrow.EndAsTriangle.

Sets the end of the arrow to a triangle style

Public procedure StartAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); override;

This item has no description. Showing description inherited from TBGRACustomArrow.StartAsClassic.

Sets the start of the arrow to a classic style

Public procedure StartAsNone; override;

This item has no description. Showing description inherited from TBGRACustomArrow.StartAsNone.

Sets the start of the arrow to no style

Public procedure StartAsTail; override;

This item has no description. Showing description inherited from TBGRACustomArrow.StartAsTail.

Sets the start of the arrow to a tail style

Public procedure StartAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); override;

This item has no description. Showing description inherited from TBGRACustomArrow.StartAsTriangle.

Sets the start of the arrow to a triangle style

Protected procedure SetEnd(AStyle: TBGRAArrowStyle; ATipStyle: TPenJoinStyle = pjsMiter; ARelativePenWidth: single = 1; ATriangleBackOffset: single = 0);

This item has no description.

Protected procedure SetEndOffsetX(AValue: single); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetEndOffsetX.

Sets the X-offset for the end of the arrow

Protected procedure SetEndRepeatCount(AValue: integer); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetEndRepeatCount.

Sets the repeat count for the end symbol

Protected procedure SetEndSizeFactor(AValue: TPointF); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetEndSizeFactor.

Sets the size factor for the end of the arrow

Protected procedure SetLineCap(AValue: TPenEndCap); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetLineCap.

Sets the line cap style for the classic arrow

Protected procedure SetStart(AStyle: TBGRAArrowStyle; ATipStyle: TPenJoinStyle = pjsMiter; ARelativePenWidth: single = 1; ATriangleBackOffset: single = 0);

This item has no description.

Protected procedure SetStartOffsetX(AValue: single); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetStartOffsetX.

Sets the X-offset for the start of the arrow

Protected procedure SetStartRepeatCount(AValue: integer); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetStartRepeatCount.

Sets the repeat count for the start symbol

Protected procedure SetStartSizeFactor(AValue: TPointF); override;

This item has no description. Showing description inherited from TBGRACustomArrow.SetStartSizeFactor.

Sets the size factor for the start of the arrow