JCL Help:TJclBitmap32.DrawHorzLine

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Draws a horizontal line.


Pascal

 public procedure DrawHorzLine(X1: Integer; Y: Integer; X2: Integer; Value: TColor32);
public procedure DrawHorzLineS(X1: Integer; Y: Integer; X2: Integer; Value: TColor32);
public procedure DrawHorzLineT(X1: Integer; Y: Integer; X2: Integer; Value: TColor32);
public procedure DrawHorzLineTS(X1: Integer; Y: Integer; X2: Integer; Value: TColor32);
public procedure DrawHorzLineTSP(X1: Integer; Y: Integer; X2: 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.
DrawHorzLineTSP uses a stipple pattern to vary the color along the line.


See Also

TJclBitmap32.DrawLine Line_Patterns Graphics_Naming_Conventions TColor32 TJclBitmap32.DrawVertLine


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