[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpvectorial' (#fcl)

T2DSegment

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A generic 2D segment

Declaration

Source position: fpvectorial.pas line 106

type T2DSegment = class(TPathSegment)

public

  X: Double;

  

The X coordinates in milimiters of the end of the segment

  Y: Double;

  

The Y coordinates in milimiters of the end of the segment

end;

Inheritance

T2DSegment

  

A generic 2D segment

|

TPathSegment

  

A generic path segment

|

TObject

Description

In a 2D segment, the X and Y coordinates represent always the final point of the segment, being that it starts where the previous segment ends. The exception is for the first segment of all, which simply holds the starting point for the drawing and should always be of the type stMoveTo.


Documentation generated on: Oct 09 2011