Polyline

procedure PolyLineTS(Bitmap: TCustomBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);

procedure PolyLineAS(Bitmap: TCustomBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);

procedure PolyLineXS(Bitmap: TCustomBitmap32; const Points: TArrayOfFixedPoint; Color: TColor32; Closed: Boolean=True; Transformation: TTransformation = nil);

procedure PolyLineXSP(Bitmap: TCustomBitmap32; const Points: TArrayOfFixedPoint; Closed: Boolean=True; Transformation: TTransformation = nil);

Description

Draws a series of lines, connecting points passed in. The points are transformed by Transformation. If Closed is True, the polygon is closed automatically by drawing a line from the last vertex to the first.

PolyLineTS draws a non-antialiased line with optional transparency. When drawing, fixed-point coordinates of vertixes are rounded.

PolyLineAS draws an antialiased line, fixed-point coordinates of vertexes are rounded.

PolyLineXS provides full antialiasing and does not perform rounding of vertexes' coordinates. PolyLineXSP uses the stipple pattern defined in the Bitmap instead of a color.

All functions perform clipping.

See Also

Naming Conventions, TCustomBitmap32, Color Types, Point Types, TTransformation