[ static enum ] Alignment

Class: Stroke.

Description:

Static enum for stroke alignment.
Defines how the stroke is positioned relative to the shape’s outline.

Type: number

Properties:

Name Description

Inside

Stroke fully inside the shape path.

Center

Stroke centered on the shape path.

Outside

Stroke fully outside the shape path.

Examples:

Stroke.Alignment.Outside