Description | Hierarchy | Fields | Methods | Properties |
type TLine = class(TObject)
TLine is used to select objects on the screen by drawing a "lasso" around them. See TLassoTool.
FCanAdjustBounds: boolean; |
|
FCount: integer; |
|
FFirstSubLine: TLine; |
|
FMaxP: TPoint; |
|
FMinP: TPoint; |
|
FPoints: TPointArray; |
|
FSecondSubLine: TLine; |
|
FStart: integer; |
|
FUpdateBounds: boolean; |
procedure CreateSubLines; |
|
function GetPoint(const Index: integer): TPoint; |
|
function GetIntersection(const ALine: TLine): TIntersectResult; |
|
function InsideBox(const X, Y: integer): boolean; |
|
procedure SetBounds; |
|
procedure CopyPoints(const Value: TPointArray); |
|
procedure AddPoint(const APoint: TPoint); |
|
procedure AssignPoints(const Value: TPointArray); |
|
constructor Create(const Capacity: integer); |
|
destructor Destroy; override; |
|
procedure Draw(const BitMap: TBitmap32); |
|
function Inside(const X, Y: integer): boolean; overload; |
|
function Inside(const APoint: TPoint): boolean; overload; |
|
function Intersect(const ALine: TLine): boolean; |
|
procedure Invalidate; |
|
procedure SetBox(const Corner1, Corner2: TPoint); |
property Count: integer read FCount write FCount; |
|
property Points[constIndex:integer]: TPoint read GetPoint; |
|
property Start: integer read FStart write FStart; |
FCanAdjustBounds: boolean; |
|
|
FCount: integer; |
|
See Count. |
FFirstSubLine: TLine; |
|
|
FMaxP: TPoint; |
|
The coordinates of |
FMinP: TPoint; |
|
The coordinates of |
FPoints: TPointArray; |
|
See Points and AssignPoints. |
FSecondSubLine: TLine; |
|
|
FStart: integer; |
|
See Start. |
FUpdateBounds: boolean; |
|
|
procedure CreateSubLines; |
|
|
function GetPoint(const Index: integer): TPoint; |
|
See Points. |
function GetIntersection(const ALine: TLine): TIntersectResult; |
|
|
function InsideBox(const X, Y: integer): boolean; |
|
|
procedure SetBounds; |
|
|
procedure CopyPoints(const Value: TPointArray); |
|
procedure AddPoint(const APoint: TPoint); |
|
|
procedure AssignPoints(const Value: TPointArray); |
|
|
constructor Create(const Capacity: integer); |
|
|
destructor Destroy; override; |
|
|
procedure Draw(const BitMap: TBitmap32); |
|
|
function Inside(const X, Y: integer): boolean; overload; |
|
|
function Inside(const APoint: TPoint): boolean; overload; |
|
|
function Intersect(const ALine: TLine): boolean; |
|
|
procedure Invalidate; |
|
Call |
procedure SetBox(const Corner1, Corner2: TPoint); |
|
|
property Count: integer read FCount write FCount; |
|
|
property Points[constIndex:integer]: TPoint read GetPoint; |
|
property Points: TPointArray read FPoints write SetPoints; |
property Start: integer read FStart write FStart; |
|
|