# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 3.0 Security:
# Syntax
set the capStyle [of graphic] to style
# Examples
set the capStyle of graphic "dashedRectangle1" to "round"
# create a graphic object and set several of its properties create graphic "newline" set the style of graphic "newline" to "line" set the points of graphic "newline" to 50,50 & return & 200,200 set the lineSize of graphic "newline" to 6 set the capStyle of graphic "newline" to "butt"
# Description
Setting the capStyle property changes the appearance of line and dashes ends for graphic objects. If the graphic lineSize property is 1, the setting of the capStyle has no effect.
>*Note:* This only affects polygon, freehand curve and line > graphics which have their antialiased set to true.
>*Note:* Setting the roundEnds of a graphic to true sets the > capStyle of the graphic to "round". Setting the roundEnds of a graphic to false sets the capStyle of the graphic to "butt".
# Tags
# See