-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathMathView.h
More file actions
32 lines (27 loc) · 714 Bytes
/
MathView.h
File metadata and controls
32 lines (27 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// MathView.h
// test
//
// Created by zkhz on 2016/11/29.
// Copyright © 2016年 zkhz. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MathWebView.h"
@interface MathView : UIView
/**
scale
*/
@property (nonatomic,assign)CGFloat ratio;
/**
init
@param callBack self.Frame , element's index
@param code HTMLString
@param type MathRenderEngineType
@param index element's index
@return MathView instancetype
*/
- (instancetype)initWithRenderCompleted:(void(^)(CGRect frame,NSInteger index))callBack
withHTML:(NSString *)code
MathRenderEngineType:(MathRenderEngineType)type
Index:(NSInteger)index;
@end