Foxit PDF SDK
|
Inherits NSObject.
Instance Methods | |
(id) | - init |
Constructor. | |
(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) 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.