miterLimit

Specifies how far miter joins can extend from the meeting point of two edges before a bevel join is used.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 3.0 Security:

# Syntax

set the miterLimit [of graphic] to number

# Params

- number : An integer that is a multiple of the current lineSize of the <graphic>.

# Examples

set the miterLimit of graphic "polygon 1" of this card to 5

# Description

Set the miterLimit property to specify how far miter joinStyle can extend from the meeting point of two edges before a bevel joinStyle is used.

The miterLimit is used to calculate the maximum size of a miter joinStyle before it is rendered as a bevel. The size of a miter joinStyle is the length in pixels from the corner to the intersection point of its outer two edges. The miterLimit is specified as a multiple of the currentlineSize of the graphic.

>*Note:* This only affects polygon, freehand curve and line > graphics which have their antialiased set to true.

# Tags

# See

- **property:** antialiased, joinStyle, lineSize, roundEnds - **keyword:** curve, line, polygon - **object:** graphic