java.lang.Object | ||
↳ | sun.java2d.pisces.LineSink | |
↳ | sun.java2d.pisces.Renderer |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | DEFAULT_CROSSINGS_SIZE | ||||||||||
int | DEFAULT_INDICES_SIZE | ||||||||||
int | INITIAL_EDGES | ||||||||||
int | WIND_EVEN_ODD | ||||||||||
int | WIND_NON_ZERO |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Closes the current path by drawing a line from the current
drawing position to the point specified by the moset recent
moveTo command. | |||||||||||
Ends the current path.
| |||||||||||
Provides a hint that the current segment should be joined to
the following segment using an explicit miter or round join if
required.
| |||||||||||
Draws a line from the current drawing position to the point
(x1, y1) and sets the current drawing position to
(x1, y1) . | |||||||||||
Moves the current drawing position to the point
(x0,
y0) . | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Closes the current path by drawing a line from the current
drawing position to the point specified by the moset recent
moveTo
command.
Ends the current path. It may be necessary to end a path in order to allow end caps to be drawn.
Provides a hint that the current segment should be joined to the following segment using an explicit miter or round join if required.
An application-generated path will generally have no need
to contain calls to this method; they are typically introduced
by a Flattener
to mark segment divisions that
appear in its input, and consumed by a Stroker
that is responsible for emitting the miter or round join
segments.
Other LineSink
classes should simply pass this
hint to their output sink as needed.
Draws a line from the current drawing position to the point
(x1, y1)
and sets the current drawing position to
(x1, y1)
.
x1 | the X coordinate in S15.16 format |
---|---|
y1 | the Y coordinate in S15.16 format |
Moves the current drawing position to the point (x0,
y0)
.
x0 | the X coordinate in S15.16 format |
---|---|
y0 | the Y coordinate in S15.16 format |