|
Foxit PDF SDK
|
继承自 NSObject .
构造函数 | |
| (id) | - init |
| 默认构造函数。 | |
| (id) | - initWithBorder_info: |
| 拷贝构造函数。 更多... | |
| (id) | - initWithWidth:style:intensity:dash_phase:dashes: |
| 构造函数,带参数。 更多... | |
| (void) | - set:style:intensity:dash_phase:dashes: |
| 设置边框信息。 更多... | |
属性 | |
| float | cloud_intensity |
| 云状效果的强度。 更多... | |
| float | dash_phase |
| 虚线相位。 更多... | |
| FSFloatArray * | dashes |
| 表示虚线模式的虚线数组。 更多... | |
| FSBorderInfoStyle | style |
| 边框样式。请参考 FSBorderInfoSolid 及相关值,应为这些值中的一个。 | |
| float | width |
| 边框宽度,以点为单位。 更多... | |
此类表示注释边框信息。
| - (id) initWithBorder_info: | (FSBorderInfo*) | border_info |
拷贝构造函数。
| [in] | border_info | 另一个边框信息对象。 |
| - (id) initWithWidth: | (float) | width | |
| style: | (FSBorderInfoStyle) | style | |
| intensity: | (float) | intensity | |
| dash_phase: | (float) | dash_phase | |
| dashes: | (FSFloatArray*) | dashes | |
构造函数,带参数。
| [in] | width | 边框宽度,以点为单位。这应该是一个非负值。 如果此值为0,则不绘制边框。 |
| [in] | style | 边框样式。请参考从FSBorderInfoSolid开始的值, 这应该是这些值中的一个。 |
| [in] | intensity | 云状效果的强度。仅当参数style为 FSBorderInfoCloudy时才有用。有效值范围:0到2。 0表示没有云状边框效果。 如果值小于0,将与值0具有相同效果。 如果值大于2,将与值2具有相同效果。 |
| [in] | dash_phase | 虚线相位。仅在参数style为 FSBorderInfoDashed时有用。 |
| [in] | dashes | 表示虚线模式的虚线数组。此数组中每个元素的值 不应为负数。仅在style为FSBorderInfoDashed时有用。 |
| - (void) set: | (float) | width | |
| style: | (FSBorderInfoStyle) | style | |
| intensity: | (float) | intensity | |
| dash_phase: | (float) | dash_phase | |
| dashes: | (FSFloatArray*) | dashes | |
设置边框信息。
| [in] | width | 边框宽度(单位:点)。应为非负值。为0时不绘制边框。 |
| [in] | style | 边框样式。请参考从FSBorderInfoSolid开始的值,这应该是这些值中的一个。 |
| [in] | intensity | 云状效果强度,仅当style为FSBorderInfoCloudy时有效。有效范围0~2。 0表示无云状效果。小于0等同于0,大于2等同于2。 |
| [in] | dash_phase | 虚线起始相位,仅当style为FSBorderInfoDashed时有效。 |
| [in] | dashes | 虚线数组,表示虚线模式。数组中每个元素都应为非负值,仅当style为FSBorderInfoDashed时有效。 |
|
readwritenonatomicassign |
云状效果的强度。
仅对自由文本、正方形、圆形和多边形注释有用,当前对象的 style 为 FSBorderInfoCloudy 时。
建议值范围:0 到 2。0 表示无云状边框效果。
其他值的效果为:
|
readwritenonatomicassign |
虚线相位。
仅在当前对象的 style 为 FSBorderInfoDashed 时有用。
|
readwritenonatomicweak |
表示虚线模式的虚线数组。
仅在当前对象的 style 为 FSBorderInfoDashed 时有用。
此数组中元素的值不应为负数。
|
readwritenonatomicassign |
边框宽度,以点为单位。
此值不应为负数。如果此值为 0,则不会绘制边框。