IPath (Path object)

1. Definition

This object resembles a visible path.

IPath inherits from IMoveable
  procedure Reset;
  function GetWidth: Integer;
  procedure SetWidth(w: Integer)
  procedure SetHead(s: string);
  procedure SetTail(s: string);
  procedure SetBody(s: string);
  procedure SetShape(s: string);
  procedure SetLengthInTime(t: Integer);
end;

2. Methods

  • Object creation

    function CreatePathVisualizer: IPath;
    
  • Reset to default settings

    procedure Reset;
    
  • Sets the width of the path.

    procedure SetWidth(w: Integer);
    
  • Returns the width of the path.

    function GetWidth: Integer;
    
  • Sets the head of the path.

    procedure SetHead(s: string);
    
  • Sets the tail of the path.

    procedure SetTail(s: string);
    
  • Sets the middle part of the path.

    procedure SetBody(s: string);
    
  • Sets all parts of the path using a combined image. Please note, that only the seperate parts or the whole path can be set at once.

    procedure SetShape(s: string);
    
  • Sets the length of the path in milliseconds.

    procedure SetLengthInTime(t: Integer);