AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.14.3 version of this document. Switch to the 8.2.1 version to see the up to date information.

class anychart.core.utils.Crossing Improve this Doc

Extends: anychart.core.Base

Settings class for crossing.

Methods Overview

Coloring
stroke()Stroke settings.

Methods Description

stroke

Getter for the crosslines stroke.

Returns:

anychart.graphics.vector.Stroke - Crosslines stroke settings.
See listing
var stroke = crossing.stroke();
Setter for the crosslines stroke.

Params:

Name Type Default Description
color anychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thickness number
1
Line thickness.
dashpattern string
Controls the pattern of dashes and gaps used to stroke paths.
lineJoin anychart.graphics.vector.StrokeLineJoin
Line joint style.
lineCap anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.utils.Crossing - Self instance for method chaining.

Try it: