Top

class anychart.core.ui.table.Border Improve this Doc

Border settings proxy. Doesn't store anything - just passes settings to and from the parent object.

Methods Overview

Coloring
bottom()Bottom border settings.
left()Left border settings.
right()Right border settings.
top()Top border settings.

Methods Description

bottom

Getter for current bottom border settings.

Returns:

anychart.graphics.vector.Stroke - Current stroke settings.
Setter for bottom border settings. Learn more about stroke settings.

Params:

Name Type Default Description
value 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 join style.
lineCap anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.table.Border - Self instance for method chaining.

Try it:

left

Getter for current left border settings.

Returns:

anychart.graphics.vector.Stroke - Current stroke settings.
Setter for left border settings. Learn more about stroke settings.

Params:

Name Type Default Description
value 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 join style.
lineCap anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.table.Border - Self instance for method chaining.

Try it:

Getter for current right border settings.

Returns:

anychart.graphics.vector.Stroke - Current stroke settings.
Setter for right border settings. Learn more about stroke settings.

Params:

Name Type Default Description
value 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 join style.
lineCap anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.table.Border - Self instance for method chaining.

Try it:

top

Getter for current top border settings.

Returns:

anychart.graphics.vector.Stroke - Current stroke settings.
Setter for top border settings. Learn more about stroke settings.

Params:

Name Type Default Description
value 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 join style.
lineCap anychart.graphics.vector.StrokeLineCap
Line cap style.

Returns:

anychart.core.ui.table.Border - Self instance for method chaining.

Try it: