JCL Help:TJclBitmap32.DrawVertLine

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Draws a horizontal line.


Pascal

 public procedure DrawVertLine(X: Integer; Y1: Integer; Y2: Integer; Value: TColor32);
public procedure DrawVertLineS(X: Integer; Y1: Integer; Y2: Integer; Value: TColor32);
public procedure DrawVertLineT(X: Integer; Y1: Integer; Y2: Integer; Value: TColor32);
public procedure DrawVertLineTS(X: Integer; Y1: Integer; Y2: Integer; Value: TColor32);
public procedure DrawVertLineTSP(X: Integer; Y1: Integer; Y2: Integer);


Description

Draws a horizontal line from (X1,Y) to (X2, Y). The last point is always included.
These functions works faster compared to DrawLine. In versions with 'S' postfix necessary clipping to a bitmap coordinate range is provided. In versions without 'S' postfix, the X1 value should be less than or equal to X2.
DrawVertLineTSP uses a stipple pattern to vary the color along the line.


See Also

TJclBitmap32.DrawLine Line_Patterns Graphics_Naming_Conventions TColor32 TJclBitmap32.DrawHorzLine


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