TuSDKWaterMarkOption Class Reference

Inherits from NSObject
Declared in TuSDKWaterMarkOption.h

Overview

水印配置

  markPosition

水印位置 (默认: lsqWaterMarkBottomRight)

@property (nonatomic, assign) lsqWaterMarkPosition markPosition

Declared In

TuSDKWaterMarkOption.h

  markText

水印文字

@property (nonatomic) NSString *markText

Declared In

TuSDKWaterMarkOption.h

  markImage

水印图片

@property (nonatomic, retain) UIImage *markImage

Declared In

TuSDKWaterMarkOption.h

  markMargin

水印距离图片边距 (默认: 6dp)

@property (nonatomic) CGFloat markMargin

Declared In

TuSDKWaterMarkOption.h

  markTextPosition

文字和图片顺序 (仅当图片和文字都非空时生效,默认: 文字在右)

@property (nonatomic) lsqMarkTextPosition markTextPosition

Declared In

TuSDKWaterMarkOption.h

  markTextPadding

文字和图片间距 (默认: 2dp)

@property (nonatomic) CGFloat markTextPadding

Declared In

TuSDKWaterMarkOption.h

  markTextSize

文字大小 (默认: 24 SP)

@property (nonatomic) CGFloat markTextSize

Declared In

TuSDKWaterMarkOption.h

  markTextColor

文字背景色 (默认:[UIColor whiteColor])

@property (nonatomic, retain) UIColor *markTextColor

Declared In

TuSDKWaterMarkOption.h

  markTextShadowColor

文字阴影颜色 (默认:[UIColor grayColor])

@property (nonatomic, retain) UIColor *markTextShadowColor

Declared In

TuSDKWaterMarkOption.h

– isValid

水印是否可用

- (BOOL)isValid

Return Value

BOOL

Declared In

TuSDKWaterMarkOption.h