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

class anychart.graphics.vector.PatternFill Improve this Doc

Extends: anychart.graphics.vector.Layer

Pattern fill class.
Do not invoke constructor directly. Use anychart.graphics.patternFill.

Try it:

Methods Overview

Miscellaneous
addChild()Add element to a layer, to the top (maximal index).

Methods Description

addChild

Add element to a layer, to the top (maximal index).
All DOM changes will happen instantly, except anychart.graphics.vector.Stage#suspend.
Simplified version of anychart.graphics.vector.Layer#addChildAt where element is added to the end.

Params:

Name Type Description
element anychart.graphics.vector.Element Element to add.

Returns:

anychart.graphics.vector.Layer - anychart.graphics.vector.Layer instance for method chaining.

Try it: