1.18.0 • Published 5 years ago

@pencil.js/container v1.18.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Container

Simple wrapper for others component in you scene.

Installation

npm install @pencil.js/container

Examples

import Container from "@pencil.js/container";

const container = new Container();
container.add(someComponent);

ContainerOptions

NameTypeDefaultComment
shownBooleantrueIs shown
opacityNumbernullOpacity level from 0 to 1 (null mean inherited from parent)
rotationNumber0Rotation ratio from 0 to 1 (clockwise)
rotationCenterPositionnew Position()Center of rotation relative to this position
scalePosition or Number1Scaling ratio or a pair of value for horizontal and vertical scaling
zIndexNumber1Depth ordering
clipComponentnullOther component used to clip the rendering
1.18.0

5 years ago

1.17.0

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.0

6 years ago

1.13.1

6 years ago

1.13.0

6 years ago

1.12.0

6 years ago

1.10.2

6 years ago

1.10.0

6 years ago

1.9.0

6 years ago

1.8.0

6 years ago

1.7.0

6 years ago

1.6.6

6 years ago

1.6.5

6 years ago

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago

0.9.2

7 years ago

0.9.1

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago