// Create text with miter joins (sharp corners)
const sharpText = new Text({
    text: 'Sharp Corners',
    style: {
        fontSize: 36,
        stroke: {
            color: '#4a1850',
            width: 4,
            lineJoin: 'miter'  // Sharp corners
        }
    }
});
// Create text with round joins
const roundText = new Text({
    text: 'Rounded Corners',
    style: {
        fontSize: 36,
        stroke: {
            color: '#4a1850',
            width: 4,
            lineJoin: 'round'  // Smooth rounded corners
        }
    }
});
// Create text with beveled joins
const bevelText = new Text({
    text: 'Beveled Corners',
    style: {
        fontSize: 36,
        stroke: {
            color: '#4a1850',
            width: 4,
            lineJoin: 'bevel'  // Flattened corners
        }
    }
});
Available values:
The line join style for text strokes. Determines how lines connect at corners.