VectorComposite.LineJoin
EnumThe line join style for a stroked path — how corners between connected path segments are rendered.
- Snapchat: not supported
- SPECS: fully supported
- Camera Kit Web: not supported
- Camera Kit Mobile: not supported
- SnapchatNot supported — Available on SPECS only
- SPECSFully supported
- Camera Kit WebNot supported — Available on SPECS only
- Camera Kit MobileNot supported — Available on SPECS only
Since Lens Scripting v370
The line join style for a stroked path — how corners between connected path
segments are rendered. Mirrors the SVG stroke-linejoin attribute.
Pass to VectorStrokeBuilder#setJoin.
Index
Example
var sb = VectorStrokeBuilder.create(6);
sb.setJoin(VectorComposite.LineJoin.Round);
var stroke = sb.build();
Enumeration Members
Bevel
Bevel:
number
SPECS
A straight line connecting the outer edges of the two segments, cutting off the corner.
Since
Lens Scripting Version 370
Miter
Miter:
number
SPECS
A sharp (mitered) corner. When the miter length exceeds the miter limit, the corner falls back to a bevel. This is the SVG default.
Since
Lens Scripting Version 370
Round
Round:
number
SPECS
A circular arc joining the outer edges of the two segments.
Since
Lens Scripting Version 370