Skip to content

pencil.js / container / ContainerOptions

Interface: ContainerOptions ​

Defined in: container.ts:12

Container options

Extended by ​

Properties ​

PropertyTypeDescriptionDefined in
clip| Component<ComponentOptions> | nullOther component used to clip the renderingcontainer.ts:26
opacitynumber | nullOpacity level from 0 to 1 (multiplied with its parents opacity, null means 1)container.ts:16
rotationnumberRotation ratio from 0 to 1 (clockwise)container.ts:18
rotationCenterPositionDefinitionCenter of rotation relative to this positioncontainer.ts:20
scale| number | PositionDefinitionScaling ratio or a pair of value for horizontal and vertical scalingcontainer.ts:22
shownbooleanIs showncontainer.ts:14
zIndexnumberDepth orderingcontainer.ts:24

Released under the MIT License.