Interface IGroup

Hierarchy

Index

Methods

Methods

public add(child: INode): any

Parameters

Returns

any

public cache(cacheConfig?: any): INode

Parameters

  • cacheConfig?: any optional

Returns

INode

public clone(attrs: any): IContainer

Parameters

  • attrs: any

Returns

IContainer

public destroy()

public destroyChildren(): IContainer

Returns

IContainer

public draw(): INode

Returns

INode

public drawBuffer(): any

Returns

any

public drawScene(): any

Returns

any

public find(selector: string): any

Parameters

  • selector: string

Returns

any

public fire(typeStr: string, event?: any, bubble?: boolean): any

Parameters

  • typeStr: string
  • event?: any optional
  • bubble?: boolean optional

Returns

any

public get(selector: any): any

Parameters

  • selector: any

Returns

any

public getAbsoluteOpacity(): number

Returns

number

public getAbsolutePosition(): Vector2d

Returns

Vector2d

public getAbsoluteTransform(): any

Returns

any

public getAbsoluteZIndex(): number

Returns

number

public getAttrs(): any

Returns

any

public getChildren(): INode[]

Returns

INode[]

public getDragBounds(): any

Returns

any

public getDragConstraint(): any

Returns

any

public getDraggable(): boolean

Returns

boolean

public getHeight(): any

Returns

any

public getId(): string

Returns

string

public getIntersections(point: any): any

Parameters

  • point: any

Returns

any

public getLayer(): any

Returns

any

public getLevel(): number

Returns

number

public getListening(): any

Returns

any

public getName(): string

Returns

string

public getOffset(): Vector2d

Returns

Vector2d

public getOpacity(): number

Returns

number

public getParent(): any

Returns

any

public getPosition(): Vector2d

Returns

Vector2d

public getRotation(): number

Returns

number

public getRotationDeg(): number

Returns

number

public getScale(): Vector2d

Returns

Vector2d

public getScaleX(): number

Returns

number

public getScaleY(): number

Returns

number

public getSize(): ISize

Returns

ISize

public getStage(): IStage

Returns

IStage

public getTransform(): any

Returns

any

public getWidth(): any

Returns

any

public getX(): number

Returns

number

public getY(): number

Returns

number

public getZIndex(): number

Returns

number

public height(): number

Returns

number

public height(height: number)

Parameters

  • height: number

public hide()

public id(): string

Returns

string

public id(id: string)

Parameters

  • id: string

public isAncestorOf(node: any): any

Parameters

  • node: any

Returns

any

public isDraggable(): boolean

Returns

boolean

public isDragging(): boolean

Returns

boolean

public isListening(): boolean

Returns

boolean

public move(x: number, y: number)

Parameters

  • x: number
  • y: number

public moveDown()

public moveTo(newContainer: IContainer)

Parameters

public moveToBottom()

public moveToTop()

public moveUp()

public name(): string

Returns

string

public name(name: string)

Parameters

  • name: string

public off(typesStr: string)

Parameters

  • typesStr: string

public on(typesStr: string, handler: (data: any) => any)

Parameters

  • typesStr: string
  • handler: (data: any) => any

public remove(child: any): any

Parameters

  • child: any

Returns

any

public removeChildren(): any

Returns

any

public rotate(theta: number)

Parameters

  • theta: number

public rotateDeg(deg: number)

Parameters

  • deg: number

public setAbsolutePosition(pos: Vector2d)

Parameters

public setAttrs(config: any)

Parameters

  • config: any

public setDefaultAttrs(config: any)

Parameters

  • config: any

public setDragBounds(bounds: any)

Parameters

  • bounds: any

public setDragConstraint(constraint: string)

Parameters

  • constraint: string

public setDraggable(draggable: boolean)

Parameters

  • draggable: boolean

public setHeight(height: number): any

Parameters

  • height: number

Returns

any

public setId(id: string)

Parameters

  • id: string

public setListening(listening: boolean)

Parameters

  • listening: boolean

public setOffset(offset: Vector2d): any

Parameters

Returns

any

public setOpacity(opacity: any)

Parameters

  • opacity: any

public setPosition(position: Vector2d)

Parameters

public setRotation(theta: number)

Parameters

  • theta: number

public setRotationDeg(rotDeg: number)

Parameters

  • rotDeg: number

public setScale(scale: Vector2d)

Parameters

public setScaleX(scale: number)

Parameters

  • scale: number

public setScaleY(scale: number)

Parameters

  • scale: number

public setSize(size: ISize): any

Parameters

Returns

any

public setWidth(width: number)

Parameters

  • width: number

public setX(x: number)

Parameters

  • x: number

public setY(y: number)

Parameters

  • y: number

public setZIndex(zIndex: number)

Parameters

  • zIndex: number

public show()

public simulate(eventType: string)

Parameters

  • eventType: string

public toDataURL(config: any)

Parameters

  • config: any

public transitionTo(config: any)

Parameters

  • config: any

public width(): number

Returns

number

public width(width: number)

Parameters

  • width: number

public x(): number

Returns

number

public x(x: number)

Parameters

  • x: number

public y(): number

Returns

number

public y(y: number)

Parameters

  • y: number