PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFContentStream Class / lineTo Method
X coordinate of line end.
Y coordinate of line end.
Collapse All Expand All
In This Topic

lineTo Method
In This Topic
Appends a line segment to current path from current point to (x, y). Operator: l
Syntax

    public void lineTo(
       double x,
       double y
    )

#### Parameters

x
  X coordinate of line end.
y
  Y coordinate of line end.

See Also

#### Reference

PDFContentStream Class
PDFContentStream Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.