Skip to main content

VectorComposite.LineJoin

Enum

The 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

Platform details

  • Snapchat — Not supported — Available on SPECS only.

  • SPECS — Fully supported.

  • Camera Kit Web — Not supported — Available on SPECS only.

  • Camera Kit Mobile — Not 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

Enumeration Members

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