Top
You are looking at an outdated 7.6.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

class anychart.palettes.HatchFills Improve this Doc

Extends: anychart.core.Base

HatchFills palette class.

Methods Overview

Miscellaneous
hatchFillAt()Getter for the hatchFill by index.
hatchFills()Getter for hatch fills list of palette.

Methods Description

hatchFillAt

Getter for the hatchFill by index.

Params:

Name Type Description
index number Index of hatchFill to get.

Try it:

Setter for the hatchFill by index.

Params:

Name Type Description
index number Index of hatchFill to set.
patternFillOrTypeOrState anychart.graphics.vector.PatternFill | anychart.graphics.vector.HatchFill | anychart.graphics.vector.HatchFill.HatchFillType | string | boolean PatternFill or HatchFill instance or type or state of hatch fill.
color string Color.
thickness number Thickness.
size number Pattern size.

Returns:

anychart.palettes.HatchFills - Self instance for method chaining.

Try it:

hatchFills

Getter for hatch fills list of palette.
Setter for hatch fills list of palette.

Returns:

anychart.palettes.HatchFills - Self instance for method chaining.

Try it: