Icon TLineCapStyle

Unit: WebUI

TLineCapStyle = (csButt,csRound,csSquare)

Available In: Client and Server Applications

The TLineCapStyle enumerated type is used to specify the how lines are terminated on a TCanvasElement instance.

ElementDescription
csButtSpecifies that lines should have no cap. The end of the lines will be straight and perpendicular to the direction of the lines, and the lines are not extended beyond their endpoint.
csRoundSpecifies that lines should be capped with a semicircle whose diameter is equal to the width of the line. This semicircle extends beyond the end of the line by one half of the width of the line.
csSquareSpecifies that lines should be capped with a rectangle. This is just like the csButt member, but the lines are extended by half of their width past their endpoint.
Image