MeiCam SDK For iOS  3.10.0
Classes
NvsCaptionSpan.h File Reference
#import "NvsArbitraryData.h"
#import "NvsCommonDef.h"

Go to the source code of this file.

Classes

class  NvsCaptionSpan
 
class  NvsCaptionColorSpan
 
class  NvsCaptionFontSizeRatioSpan
 
class  NvsCaptionFontFamilySpan
 
class  NvsCaptionWeightSpan
 
class  NvsCaptionItalicSpan
 
class  NvsCaptionUnderlineSpan
 
class  NvsCaptionOpacitySpan
 
class  NvsCaptionRendererIdSpan
 
class  NvsCaptionOutlineColorSpan
 
class  NvsCaptionOutlineWidthSpan
 
class  NvsCaptionNormalTextSpan
 
class  NvsCaptionBodyOpacitySpan
 
class  NvsCaptionOutlineOpacitySpan
 
class  NvsCaptionShadowOpacitySpan
 

Macros

Span type

#define NVS_SPAN_TYPE_COLOR   @"color"
 The color to set, defalut 1,1,1. type is float. More...
 
#define NVS_SPAN_TYPE_FONT_SIZE_RATIO   @"fontSizeRatio"
 The size ratio to set, defalut 1f, type is Float. More...
 
#define NVS_SPAN_TYPE_FONT_FAMILY   @"fontFamily"
 The font for the text, defalut is "", type is String. More...
 
#define NVS_SPAN_TYPE_WEIGHT   @"weight"
 Control the size of the font, range [100,900], type is Integer. More...
 
#define NVS_SPAN_TYPE_ITALIC   @"italic"
 Whether to use italics for characters within span, type is Boolean. More...
 
#define NVS_SPAN_TYPE_UNDERLINE   @"underline"
 Whether to underline characters within span, type is Boolean. More...
 
#define NVS_SPAN_TYPE_OPACITY   @"opacity"
 Set transparency,default 1, type is Float. More...
 
#define NVS_SPAN_TYPE_RENDERERID   @"rendererId"
 There is a rendererId element inside, type is String. More...
 
#define NVS_SPAN_TYPE_OUTLINE_COLOR   @"outlineColor"
 The outlineColor to set, defalut 1,1,1, type is float. More...
 
#define NVS_SPAN_TYPE_OUTLINE_WIDTH   @"outlineWidth"
 The outlineWidth to set, defalut 0, type is Float. More...
 
#define NVS_SPAN_TYPE_NORMAL_TEXT   @"normalText"
 The normalText to set, defalut 0, type is Float. More...
 
#define NVS_SPAN_TYPE_BODY_OPACITY   @"bodyOpacity"
 Used to set the transparency of the text body. The default value is 1, type is Float. More...
 
#define NVS_SPAN_TYPE_OUTLINE_OPACITY   @"outlineOpacity"
 Used to set the opacity of the text outline. The default value is 1, type is Float. More...
 
#define NVS_SPAN_TYPE_SHADOW_OPACITY   @"shadowOpacity"
 

Macro Definition Documentation

◆ NVS_SPAN_TYPE_BODY_OPACITY

#define NVS_SPAN_TYPE_BODY_OPACITY   @"bodyOpacity"

Used to set the transparency of the text body. The default value is 1, type is Float.

◆ NVS_SPAN_TYPE_COLOR

#define NVS_SPAN_TYPE_COLOR   @"color"

The color to set, defalut 1,1,1. type is float.

◆ NVS_SPAN_TYPE_FONT_FAMILY

#define NVS_SPAN_TYPE_FONT_FAMILY   @"fontFamily"

The font for the text, defalut is "", type is String.

◆ NVS_SPAN_TYPE_FONT_SIZE_RATIO

#define NVS_SPAN_TYPE_FONT_SIZE_RATIO   @"fontSizeRatio"

The size ratio to set, defalut 1f, type is Float.

◆ NVS_SPAN_TYPE_ITALIC

#define NVS_SPAN_TYPE_ITALIC   @"italic"

Whether to use italics for characters within span, type is Boolean.

◆ NVS_SPAN_TYPE_NORMAL_TEXT

#define NVS_SPAN_TYPE_NORMAL_TEXT   @"normalText"

The normalText to set, defalut 0, type is Float.

◆ NVS_SPAN_TYPE_OPACITY

#define NVS_SPAN_TYPE_OPACITY   @"opacity"

Set transparency,default 1, type is Float.

◆ NVS_SPAN_TYPE_OUTLINE_COLOR

#define NVS_SPAN_TYPE_OUTLINE_COLOR   @"outlineColor"

The outlineColor to set, defalut 1,1,1, type is float.

◆ NVS_SPAN_TYPE_OUTLINE_OPACITY

#define NVS_SPAN_TYPE_OUTLINE_OPACITY   @"outlineOpacity"

Used to set the opacity of the text outline. The default value is 1, type is Float.

◆ NVS_SPAN_TYPE_OUTLINE_WIDTH

#define NVS_SPAN_TYPE_OUTLINE_WIDTH   @"outlineWidth"

The outlineWidth to set, defalut 0, type is Float.

◆ NVS_SPAN_TYPE_RENDERERID

#define NVS_SPAN_TYPE_RENDERERID   @"rendererId"

There is a rendererId element inside, type is String.

◆ NVS_SPAN_TYPE_SHADOW_OPACITY

#define NVS_SPAN_TYPE_SHADOW_OPACITY   @"shadowOpacity"

Used to set the opacity of text shadows. The default value is 1, type is Float.

◆ NVS_SPAN_TYPE_UNDERLINE

#define NVS_SPAN_TYPE_UNDERLINE   @"underline"

Whether to underline characters within span, type is Boolean.

◆ NVS_SPAN_TYPE_WEIGHT

#define NVS_SPAN_TYPE_WEIGHT   @"weight"

Control the size of the font, range [100,900], type is Integer.