UNPKG

dragonbones-pixijs

Version:
153 lines (152 loc) 6.32 kB
import { ActionType, AnimationBlendType, ArmatureType, BlendMode, BoneType, BoundingBoxType, DisplayType, PositionMode, RotateMode, SpacingMode } from "../core/DragonBones"; import { DragonBonesData } from "../model/DragonBonesData"; import { TextureAtlasData } from "../model/TextureAtlasData"; /** * @private */ export declare abstract class DataParser { static readonly DATA_VERSION_2_3: string; static readonly DATA_VERSION_3_0: string; static readonly DATA_VERSION_4_0: string; static readonly DATA_VERSION_4_5: string; static readonly DATA_VERSION_5_0: string; static readonly DATA_VERSION_5_5: string; static readonly DATA_VERSION_5_6: string; static readonly DATA_VERSION: string; static readonly DATA_VERSIONS: Array<string>; static readonly TEXTURE_ATLAS: string; static readonly SUB_TEXTURE: string; static readonly FORMAT: string; static readonly IMAGE_PATH: string; static readonly WIDTH: string; static readonly HEIGHT: string; static readonly ROTATED: string; static readonly FRAME_X: string; static readonly FRAME_Y: string; static readonly FRAME_WIDTH: string; static readonly FRAME_HEIGHT: string; static readonly DRADON_BONES: string; static readonly USER_DATA: string; static readonly ARMATURE: string; static readonly CANVAS: string; static readonly BONE: string; static readonly SURFACE: string; static readonly SLOT: string; static readonly CONSTRAINT: string; static readonly SKIN: string; static readonly DISPLAY: string; static readonly FRAME: string; static readonly IK: string; static readonly PATH_CONSTRAINT: string; static readonly ANIMATION: string; static readonly TIMELINE: string; static readonly FFD: string; static readonly TRANSLATE_FRAME: string; static readonly ROTATE_FRAME: string; static readonly SCALE_FRAME: string; static readonly DISPLAY_FRAME: string; static readonly COLOR_FRAME: string; static readonly DEFAULT_ACTIONS: string; static readonly ACTIONS: string; static readonly EVENTS: string; static readonly INTS: string; static readonly FLOATS: string; static readonly STRINGS: string; static readonly TRANSFORM: string; static readonly PIVOT: string; static readonly AABB: string; static readonly COLOR: string; static readonly VERSION: string; static readonly COMPATIBLE_VERSION: string; static readonly FRAME_RATE: string; static readonly TYPE: string; static readonly SUB_TYPE: string; static readonly NAME: string; static readonly PARENT: string; static readonly TARGET: string; static readonly STAGE: string; static readonly SHARE: string; static readonly PATH: string; static readonly LENGTH: string; static readonly DISPLAY_INDEX: string; static readonly Z_ORDER: string; static readonly Z_INDEX: string; static readonly BLEND_MODE: string; static readonly INHERIT_TRANSLATION: string; static readonly INHERIT_ROTATION: string; static readonly INHERIT_SCALE: string; static readonly INHERIT_REFLECTION: string; static readonly INHERIT_ANIMATION: string; static readonly INHERIT_DEFORM: string; static readonly SEGMENT_X: string; static readonly SEGMENT_Y: string; static readonly BEND_POSITIVE: string; static readonly CHAIN: string; static readonly WEIGHT: string; static readonly BLEND_TYPE: string; static readonly FADE_IN_TIME: string; static readonly PLAY_TIMES: string; static readonly SCALE: string; static readonly OFFSET: string; static readonly POSITION: string; static readonly DURATION: string; static readonly TWEEN_EASING: string; static readonly TWEEN_ROTATE: string; static readonly TWEEN_SCALE: string; static readonly CLOCK_WISE: string; static readonly CURVE: string; static readonly SOUND: string; static readonly EVENT: string; static readonly ACTION: string; static readonly X: string; static readonly Y: string; static readonly SKEW_X: string; static readonly SKEW_Y: string; static readonly SCALE_X: string; static readonly SCALE_Y: string; static readonly VALUE: string; static readonly ROTATE: string; static readonly SKEW: string; static readonly ALPHA: string; static readonly ALPHA_OFFSET: string; static readonly RED_OFFSET: string; static readonly GREEN_OFFSET: string; static readonly BLUE_OFFSET: string; static readonly ALPHA_MULTIPLIER: string; static readonly RED_MULTIPLIER: string; static readonly GREEN_MULTIPLIER: string; static readonly BLUE_MULTIPLIER: string; static readonly UVS: string; static readonly VERTICES: string; static readonly TRIANGLES: string; static readonly WEIGHTS: string; static readonly SLOT_POSE: string; static readonly BONE_POSE: string; static readonly BONES: string; static readonly POSITION_MODE: string; static readonly SPACING_MODE: string; static readonly ROTATE_MODE: string; static readonly SPACING: string; static readonly ROTATE_OFFSET: string; static readonly ROTATE_MIX: string; static readonly TRANSLATE_MIX: string; static readonly TARGET_DISPLAY: string; static readonly CLOSED: string; static readonly CONSTANT_SPEED: string; static readonly VERTEX_COUNT: string; static readonly LENGTHS: string; static readonly GOTO_AND_PLAY: string; static readonly DEFAULT_NAME: string; static _getArmatureType(value: string): ArmatureType; static _getBoneType(value: string): BoneType; static _getPositionMode(value: string): PositionMode; static _getSpacingMode(value: string): SpacingMode; static _getRotateMode(value: string): RotateMode; static _getDisplayType(value: string): DisplayType; static _getBoundingBoxType(value: string): BoundingBoxType; static _getBlendMode(value: string): BlendMode; static _getAnimationBlendType(value: string): AnimationBlendType; static _getActionType(value: string): ActionType; abstract parseDragonBonesData(rawData: any, scale: number): DragonBonesData | null; abstract parseTextureAtlasData(rawData: any, textureAtlasData: TextureAtlasData, scale: number): boolean; }