JCL Help:TJclBitmap32.LineToS

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Draws a line on the bitmap from current raster position to the point specified by X and Y, and sets the raster position to (X, Y).


Pascal

 public procedure LineToS(X: Integer; Y: Integer);
public procedure LineToTS(X: Integer; Y: Integer);
public procedure LineToAS(X: Integer; Y: Integer);
public procedure LineToFS(X: Single; Y: Single);


Description

LineTo* methods are similar to TCanvas.LineTo. The line is drawn from the current raster position, to the position specified by X and Y Parameters: excluding the last point. Then raster position is shifted to (X, Y) point.
The line is drawn with the color specified in PenColor property. 'S', 'TS', and 'AS' versions use and update integer integer raster position, while 'FS' and 'XS' versions use and update independent fixed-point raster position.
LineToXSP and LineToFSP do not use PenColor, instead, they draw a line using currend stipple pattern.
To start a new line or sequence of lines, use MoveTo methods.


See Also

TJclBitmap32.DrawLine Line Patterns TJclBitmap32.MoveTo Graphics_Naming_Conventions TJclBitmap32.PenColor TFixed


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page