TuSDKPFTextItemViewInterface Protocol Reference

Conforms to NSObject
Declared in TuSDKPFTextView.h

Overview

贴纸元件视图接口

  delegate required method

贴纸元件视图委托

@property (nonatomic, weak) id<TuSDKPFTextItemViewDelegate> delegate

Declared In

TuSDKPFTextView.h

  textSticker required method

贴纸数据对象

@property (nonatomic, retain) TuSDKPFSticker *textSticker

Declared In

TuSDKPFTextView.h

  textBorderWidth required method

边框宽度

@property (nonatomic, assign) CGFloat textBorderWidth

Declared In

TuSDKPFTextView.h

  textBorderColor required method

边框颜色

@property (nonatomic, retain) UIColor *textBorderColor

Declared In

TuSDKPFTextView.h

  textColor required method

文字颜色

@property (nonatomic, retain) UIColor *textColor

Declared In

TuSDKPFTextView.h

  selected required method

选中状态

@property (nonatomic, assign) BOOL selected

Declared In

TuSDKPFTextView.h

  textString required method

文字内容

@property (nonatomic, strong) NSString *textString

Declared In

TuSDKPFTextView.h

  textParaStyle required method

文字样式信息设置

@property (nonatomic, strong) NSMutableParagraphStyle *textParaStyle

Declared In

TuSDKPFTextView.h

  enableUnderline required method

是否显示下划线

@property (nonatomic, assign) BOOL enableUnderline

Declared In

TuSDKPFTextView.h

  writingDirection required method

书写方向 参考 NSWritingDirectionAttributeName

@property (nonatomic, strong) NSArray<NSNumber*> *writingDirection

Declared In

TuSDKPFTextView.h

  textAlignment required method

文字对齐方式

@property (nonatomic, assign) NSTextAlignment textAlignment

Declared In

TuSDKPFTextView.h

  textBackgroudColor required method

文字背景色

@property (nonatomic, strong) UIColor *textBackgroudColor

Declared In

TuSDKPFTextView.h

  textStrokeColor required method

线条颜色

@property (nonatomic, strong) UIColor *textStrokeColor

Declared In

TuSDKPFTextView.h

  textEdgeInsets required method

文字边距 默认 (0,0,0,0)

@property (nonatomic, assign) UIEdgeInsets textEdgeInsets

Declared In

TuSDKPFTextView.h

  textMaxScale required method

文字最大放大倍数 (相对于父视图) 默认 1.0

@property (nonatomic, assign) CGFloat textMaxScale

Declared In

TuSDKPFTextView.h

– initWithTextFont: required method

初始化字体信息

- (void)initWithTextFont:(UIFont *)textFont

Parameters

textFont

字体

Declared In

TuSDKPFTextView.h

– resultWithRegionRect: required method

获取贴纸处理结果

- (TuSDKPFStickerResult *)resultWithRegionRect:(CGRect)regionRect

Parameters

regionRect

图片选区范围

Return Value

贴纸处理结果

Declared In

TuSDKPFTextView.h