LineJoin

How connected line segments meet at a vertex. Maps to Mapbox line-join and is serialized from StrokePaint.lineJoin / LineLayerPaint via StyleJSON.

For GLES stencil line masks, the ribbon mesh builder uses this value to approximate the same join behavior as Mapbox-style lines.

See also

Entries

Link copied to clipboard

Sharp corner; outer edges extend until they meet. StrokePaint.miterLimit caps excessive spikes.

Link copied to clipboard

Rounded fillet at the join (arc between segment directions).

Link copied to clipboard

Chamfered corner: a straight cut across the outside corner.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

String emitted to style JSON ("miter", "round", "bevel").

Functions

Link copied to clipboard
fun valueOf(value: String): LineJoin

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.