GMImage.SetStrokeLineJoin
-------------------------

Specify the shape to be used at the corners of paths (or other vector shapes) when they are stroked.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [GraphicsMagick](component_GraphicsMagick.md) | [2.0](newinversion20.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "GMImage.SetStrokeLineJoin"; ImageRef; linejoin ) 

**MBS**( **"GMImage.SetStrokeLineJoin"** /\* Specify the shape to be used at the corners of paths (or other vector shapes) when they are stroked. \*/  
**$ImageRef**; /\* The image reference number. e.g. 1 \*/   
**$linejoin**) /\* UndefinedJoin = 0, MiterJoin = 1, RoundJoin = 2, BevelJoin = 3. e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
| linejoin | UndefinedJoin = 0, MiterJoin = 1, RoundJoin = 2, BevelJoin = 3. | 1 |

### Result

Returns "OK" on success.

### Description

Specify the shape to be used at the corners of paths (or other vector shapes) when they are stroked.  
See also [GMImage.SetStrokeLineCap](GMImageSetStrokeLineCap.md).  
### Examples

Set miter join and round cap:

 MBS ( "GMImage.SetStrokeLineJoin"; $img ; 1 )  
MBS ( "[GMImage.SetStrokeLineCap](GMImageSetStrokeLineCap.md)"; $img ; 2 )  
### See also

- [GMImage.GetStrokeLineCap](GMImageGetStrokeLineCap.md)
- [GMImage.GetStrokeLineJoin](GMImageGetStrokeLineJoin.md)
- [GMImage.SetStrokeLineCap](GMImageSetStrokeLineCap.md)
- [GMImage.SetStrokeMiterLimit](GMImageSetStrokeMiterLimit.md)

### Example Databases

- [GraphicsMagick/GraphicsMagick Path Drawing](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/GraphicsMagick/GraphicsMagick%20Path%20Drawing.shtml#2ScriptAnchor_)

### Blog Entries

- [GraphicsMagick in FileMaker, part 21](https://www.mbsplugins.de/archive/2022-12-21/GraphicsMagick_in_FileMaker_pa/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[GMImage.SetStrokeLineCap](GMImageSetStrokeLineCap.md) - [GMImage.SetStrokeMiterLimit](GMImageSetStrokeMiterLimit.md)

[HTML Version](GMImageSetStrokeLineJoin.shtml)