delphi - Draw a line from BottomLeft To TopRight with TLine -


is possible draw diagonal line runs bottomleft topright or other way around.

i can draw lines topleft bottomright.

the linetype set ltdiagonal. line drawn topleft bottomright

if set negative width (bottomright left of topleft), tline not drawn, because width set 0.

tline(control).linetype:=tlinetype.ltdiagonal; 

you can use rotationangle property. set 90 , line drawn bottomleft topright, size dimensions swap.


Comments