import { ContextManager, Observable } from '@zcomponent/core'; import { Group } from '../Group'; interface ConstructorProps { /** * @zprop * @zdefault true */ updateEveryFrame: boolean; } export declare enum XAlignment { 'left' = "left", 'center' = "center", 'right' = "right" } export declare enum YAlignment { 'top' = "top", 'center' = "center", 'bottom' = "bottom" } export declare enum ZAlignment { 'front' = "front", 'center' = "center", 'back' = "back" } /** * AlignTransform positions its children so that the chosen point on their bounding box is at the origin. * * Root element: [THREE.Group](https://threejs.org/docs/index.html#api/en/objects/Group) * * @zcomponent * @zicon transform * @zgroup Transforms * @ztag three/Object3D/Group/AlignTransform * @zparents three/Object3D/Group/** */ export declare class AlignTransform extends Group { private _innerGroupPosition; /** * Creates an AlignTransform component. * @param contextManager - The context manager. * @param constructorProps - The constructor properties. */ constructor(contextManager: ContextManager, constructorProps: ConstructorProps); /** * Move the contents so the origin X coorinate coincides with this point on the bounding box. * * @zprop * @zgroup ScaleToFit * @zgrouppriority 20 */ pinOriginToBoundingX: Observable; /** * Move the contents so the origin Y coorinate coincides with this point on the bounding box. * * @zprop * @zgroup ScaleToFit * @zgrouppriority 20 */ pinOriginToBoundingY: Observable; /** * Move the contents so the origin Y coorinate coincides with this point on the bounding box. * * @zprop * @zgroup ScaleToFit * @zgrouppriority 20 */ pinOriginToBoundingZ: Observable; private _frame; } export {};