|
| 1 | + |
| 2 | +declare class BEMAnimationManager extends NSObject { |
| 3 | + |
| 4 | + static alloc(): BEMAnimationManager; // inherited from NSObject |
| 5 | + |
| 6 | + static new(): BEMAnimationManager; // inherited from NSObject |
| 7 | + |
| 8 | + animationDuration: number; |
| 9 | + |
| 10 | + constructor(); // inherited from NSObject |
| 11 | + |
| 12 | + constructor(o: { animationDuration: number; }); |
| 13 | + |
| 14 | + fillAnimationWithBouncesAmplitudeReverse(bounces: number, amplitude: number, reverse: boolean): CAKeyframeAnimation; |
| 15 | + |
| 16 | + morphAnimationFromPathToPath(fromPath: UIBezierPath, toPath: UIBezierPath): CABasicAnimation; |
| 17 | + |
| 18 | + opacityAnimationReverse(reverse: boolean): CABasicAnimation; |
| 19 | + |
| 20 | + self(): BEMAnimationManager; // inherited from NSObjectProtocol |
| 21 | + |
| 22 | + strokeAnimationReverse(reverse: boolean): CABasicAnimation; |
| 23 | +} |
| 24 | + |
| 25 | +declare const enum BEMAnimationType { |
| 26 | + |
| 27 | + Stroke = 0, |
| 28 | + |
| 29 | + Fill = 1, |
| 30 | + |
| 31 | + Bounce = 2, |
| 32 | + |
| 33 | + Flat = 3, |
| 34 | + |
| 35 | + OneStroke = 4, |
| 36 | + |
| 37 | + Fade = 5 |
| 38 | +} |
| 39 | + |
| 40 | +declare const enum BEMBoxType { |
| 41 | + |
| 42 | + Circle = 0, |
| 43 | + |
| 44 | + Square = 1 |
| 45 | +} |
| 46 | + |
| 47 | +declare class BEMCheckBox extends UIView { |
| 48 | + |
| 49 | + static appearance(): BEMCheckBox; // inherited from UIAppearance |
| 50 | + |
| 51 | + static appearanceForTraitCollection(trait: UITraitCollection): BEMCheckBox; // inherited from UIAppearance |
| 52 | + |
| 53 | + static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): BEMCheckBox; // inherited from UIAppearance |
| 54 | + |
| 55 | + //static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject>): BEMCheckBox; // inherited from UIAppearance |
| 56 | + |
| 57 | + static appearanceWhenContainedIn(ContainerClass: typeof NSObject): BEMCheckBox; // inherited from UIAppearance |
| 58 | + |
| 59 | + //static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject>): BEMCheckBox; // inherited from UIAppearance |
| 60 | + |
| 61 | + animationDuration: number; |
| 62 | + |
| 63 | + boxType: BEMBoxType; |
| 64 | + |
| 65 | + delegate: BEMCheckBoxDelegate; |
| 66 | + |
| 67 | + hideBox: boolean; |
| 68 | + |
| 69 | + lineWidth: number; |
| 70 | + |
| 71 | + minimumTouchSize: CGSize; |
| 72 | + |
| 73 | + offAnimationType: BEMAnimationType; |
| 74 | + |
| 75 | + on: boolean; |
| 76 | + |
| 77 | + onAnimationType: BEMAnimationType; |
| 78 | + |
| 79 | + onCheckColor: UIColor; |
| 80 | + |
| 81 | + onFillColor: UIColor; |
| 82 | + |
| 83 | + onTintColor: UIColor; |
| 84 | + |
| 85 | + constructor(o: { coder: NSCoder; }); // inherited from NSCoding |
| 86 | + |
| 87 | + constructor(o: { frame: CGRect; }); // inherited from UIView |
| 88 | + |
| 89 | + reload(): void; |
| 90 | + |
| 91 | + self(): BEMCheckBox; // inherited from NSObjectProtocol |
| 92 | + |
| 93 | + setOnAnimated(on: boolean, animated: boolean): void; |
| 94 | +} |
| 95 | + |
| 96 | +interface BEMCheckBoxDelegate extends NSObjectProtocol { |
| 97 | + |
| 98 | + animationDidStopForCheckBox?(checkBox: BEMCheckBox): void; |
| 99 | + |
| 100 | + didTapCheckBox?(checkBox: BEMCheckBox): void; |
| 101 | +} |
| 102 | +declare var BEMCheckBoxDelegate: { |
| 103 | + |
| 104 | + prototype: BEMCheckBoxDelegate; |
| 105 | +}; |
| 106 | + |
| 107 | +declare var BEMCheckBoxVersionNumber: number; |
| 108 | + |
| 109 | +//declare var BEMCheckBoxVersionString: interop.Reference<number>; |
| 110 | + |
| 111 | +declare class BEMPathManager extends NSObject { |
| 112 | + |
| 113 | + static alloc(): BEMPathManager; // inherited from NSObject |
| 114 | + |
| 115 | + static new(): BEMPathManager; // inherited from NSObject |
| 116 | + |
| 117 | + boxType: BEMBoxType; |
| 118 | + |
| 119 | + lineWidth: number; |
| 120 | + |
| 121 | + size: number; |
| 122 | + |
| 123 | + constructor(); // inherited from NSObject |
| 124 | + |
| 125 | + pathForBox(): UIBezierPath; |
| 126 | + |
| 127 | + pathForCheckMark(): UIBezierPath; |
| 128 | + |
| 129 | + pathForFlatCheckMark(): UIBezierPath; |
| 130 | + |
| 131 | + pathForLongCheckMark(): UIBezierPath; |
| 132 | + |
| 133 | + self(): BEMPathManager; // inherited from NSObjectProtocol |
| 134 | +} |
0 commit comments