Export (0) Print
Expand All

stroke-linecap property

Sets or retrieves a value that specifies the shape to be used at the end of open subpaths when they are stroked.

Scalable Vector Graphics: Painting, Filling, Stroking and Marker Symbols, Section 11.4Internet Explorer 9

Syntax

stroke-linecap: butt | round | bevel

Property values

butt

Default. Indicates that there should be no extra decoration at the end.

round

Indicates that there should be a half circle, its diameter equal to the line's width, at the end.

bevel

Indicates that there should be a straight line extending half the line's width past its endpoint.

CSS information

Applies Toshapes and text content elements
Mediavisual
Inherited1
Initial Valuebutt

Standards information

See also

CSSStyleDeclaration
currentStyle
style
SVGCircleElement
SVGEllipseElement
SVGLineElement
SVGPathElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGTextElement
SVGTextPathElement
SVGTSpanElement
Reference
stroke
strokeDasharray
strokeDashoffset
strokeLinejoin
strokeMiterlimit
strokeOpacity
strokeWidth

 

 

Show:
© 2014 Microsoft