AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated v7 version of this document. Switch to the v8 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:

NameTypeDefaultDescription
coloranychart.graphics.vector.Stroke | anychart.graphics.vector.ColoredFill | string | null
Stroke settings.
thicknessnumber
1
Line thickness.
dashpatternstring
Controls the pattern of dashes and gaps used to stroke paths.
lineJoinanychart.graphics.vector.StrokeLineJoin
Line joint style.
lineCapanychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

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