|
Foxit PDF SDK
|
平头端盖。描边在路径的端点处被切断。路径末端之外没有投影。
More...
Inherits NSObject.
Instance Methods | |
| (id) | - init |
| 构造函数。 More... | |
| (id) | - initWithBorder_info: |
| Constructor, with another border information object. More... | |
| (id) | - initWithWidth:style:intensity:dash_phase:dashes: |
| Constructor, with parameters. More... | |
| (void) | - set:style:intensity:dash_phase:dashes: |
| Set value. More... | |
Properties | |
| float | cloud_intensity |
| Intensity of the cloudy effect. More... | |
| float | dash_phase |
| Dash phase. More... | |
| FSFloatArray * | dashes |
| A dash array that represents the dash patterns. More... | |
| FSBorderInfoStyle | style |
| Border style. Please refer to values starting from FSBorderInfoSolid and this should be one of these values. Please also check comment of these values for more details. | |
| float | width |
| Border width, in points. More... | |
平头端盖。描边在路径的端点处被切断。路径末端之外没有投影。
此类代表了边框信息。
圆头端盖。在端点周围绘制一个直径等于线宽的半圆弧并填充。
投影方形端盖。描边在路径端点之外继续延伸等于线宽一半的距离,并被切断。
This class represents annotation border information.
| - (id) init |
构造函数。
Constructor.
| - (id) initWithBorder_info: | (FSBorderInfo*) | border_info |
Constructor, with another border information object.
| [in] | border_info | Another border information object. |
| - (id) initWithWidth: | (float) | width | |
| style: | (FSBorderInfoStyle) | style | |
| intensity: | (float) | intensity | |
| dash_phase: | (float) | dash_phase | |
| dashes: | (FSFloatArray*) | dashes | |
Constructor, with parameters.
| [in] | width | Border width, in points. This should be a non-negative value. If this value is 0, no border is drawn. |
| [in] | style | Border style. Please refer to values starting from FSBorderInfoSolid and this should be one of these values. |
| [in] | intensity | Intensity of the cloudy effect. Only useful when parameter style is FSBorderInfoCloudy. Valid value range: 0 to 2. 0 means no cloudy border effect. If the value is below 0, it will have the same effect as value 0. If the value is above 2, it will have the same effect as value 2. |
| [in] | dash_phase | Dash phase. Only useful when parameter style is FSBorderInfoDashed. |
| [in] | dashes | A dash array that represents the dash patterns. The value of each element in this array should not be negative. Only useful when style is FSBorderInfoDashed. |
| - (void) set: | (float) | width | |
| style: | (FSBorderInfoStyle) | style | |
| intensity: | (float) | intensity | |
| dash_phase: | (float) | dash_phase | |
| dashes: | (FSFloatArray*) | dashes | |
Set value.
| [in] | width | Border width, in points. This should be a non-negative value. If this value is 0, no border is drawn. |
| [in] | style | Border style. Please refer to values starting from FSBorderInfoSolid and this should be one of these values. |
| [in] | intensity | Intensity of the cloudy effect. Only useful when parameter style is FSBorderInfoCloudy. Valid value range: 0 to 2. 0 means no cloudy border effect. If the value is below 0, it will have the same effect as value 0. If the value is above 2, it will have the same effect as value 2. |
| [in] | dash_phase | Dash phase. Only useful when parameter style is FSBorderInfoDashed. |
| [in] | dashes | A dash array that represents the dash patterns. The value of each element in this array should not be negative. Only useful when style is FSBorderInfoDashed. |
|
readwritenonatomicassign |
Intensity of the cloudy effect.
This is only useful to free text, square, circle, and polygon annotations when style of current object is FSBorderInfoCloudy.
Suggested value range: 0 to 2. 0 means no cloudy border effect.
For rest value, their effect would be:
|
readwritenonatomicassign |
Dash phase.
Only useful when style of current object is FSBorderInfoDashed.
|
readwritenonatomicweak |
A dash array that represents the dash patterns.
Only useful when style of current object is FSBorderInfoDashed.
The value of elements in this array should not be negative.
|
readwritenonatomicassign |
Border width, in points.
This value should not be negative. If this value is 0, no border will be drawn.