Saturday 24 October 2020

javaFX: strokeLineCap: Specify end cap style

‘strokeLineCap’ property is used to specify end cap style.

 

Below table summarizes possible value for strokeLineCap.

strokeLineCap

Value

SQUARE

Ends unclosed subpaths and dash segments with a square projection that extends beyond the end of the segment to a distance equal to half of the line width.

BUTT

Ends unclosed subpaths and dash segments with no added decoration.

ROUND

Ends unclosed subpaths and dash segments with a round decoration that has a radius equal to half of the width of the pen.

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment