UNPKG

dragonbones-pixijs

Version:
38 lines (37 loc) 886 B
/** * - The Point object represents a location in a two-dimensional coordinate system. * @version DragonBones 3.0 * @language en_US */ export declare class Point { /** * - The horizontal coordinate. * @default 0.0 * @version DragonBones 3.0 * @language en_US */ x: number; /** * - The vertical coordinate. * @default 0.0 * @version DragonBones 3.0 * @language en_US */ y: number; /** * - Creates a new point. If you pass no parameters to this method, a point is created at (0,0). * @param x - The horizontal coordinate. * @param y - The vertical coordinate. * @version DragonBones 3.0 * @language en_US */ constructor(x?: number, y?: number); /** * @private */ copyFrom(value: Point): void; /** * @private */ clear(): void; }