AliyunPasterUIEventProtocol

@protocol AliyunPasterUIEventProtocol <NSObject>

动图UI事件回调协议

  • 贴图大小变化

    Declaration

    Objective-C

    - (void)eventBoundsDidChanged:(CGRect)aBounds;

    Parameters

    aBounds

    贴图大小

  • 贴图位置变化

    Declaration

    Objective-C

    - (void)eventCenterDidChanged:(CGPoint)aCenter;

    Parameters

    aCenter

    位置(锚点(0.5,0.5))

  • 贴图角度

    Declaration

    Objective-C

    - (void)eventRotateDidChanged:(CGFloat)aRotate;

    Parameters

    aRotate

    弧度

  • 文字大小变化

    Declaration

    Objective-C

    - (void)eventTextBoundsDidChanged:(CGRect)aBounds;

    Parameters

    aBounds

    文字大小

  • 文字位置变化

    Declaration

    Objective-C

    - (void)eventTextCenterDidChanged:(CGPoint)aCenter;

    Parameters

    aCenter

    文字位置

  • 镜像变化

    Declaration

    Objective-C

    - (void)eventMirrorChanged:(BOOL)isMirror;

    Parameters

    isMirror

    是否镜像

  • 贴图view是否关闭

    Declaration

    Objective-C

    - (void)eventPasterViewClosed:(id)pasterView;

    Parameters

    pasterView

    贴图view

  • 编辑完成

    Declaration

    Objective-C

    - (void)eventEditDidEnd;