#include <DiffOptions.h>
Definition at line 10 of file DiffOptions.h.
| pdftron::PDF::DiffOptions::DiffOptions |
( |
| ) |
|
| pdftron::PDF::DiffOptions::~DiffOptions |
( |
| ) |
|
| bool pdftron::PDF::DiffOptions::GetAddGroupAnnots |
( |
| ) |
|
Gets the value AddGroupAnnots from the options object Whether we should add an annot layer indicating the difference regions
- Returns
- a bool, the current value for AddGroupAnnots.
Gets the value BlendMode from the options object How the two colors should be blended.
- Returns
- a GState::BlendMode, the current value for BlendMode.
| ColorPt pdftron::PDF::DiffOptions::GetColorA |
( |
| ) |
|
Gets the value ColorA from the options object The difference color for the first page.
- Returns
- a ColorPt, the current value for ColorA.
| ColorPt pdftron::PDF::DiffOptions::GetColorB |
( |
| ) |
|
Gets the value ColorB from the options object The difference color for the second page
- Returns
- a ColorPt, the current value for ColorB.
| double pdftron::PDF::DiffOptions::GetLuminosityCompression |
( |
| ) |
|
Gets the value LuminosityCompression from the options object. Allows for a more or less binary comparison. High values will cause the visual comparison to behave in a strict difference/no difference fashion, while values closer to one will produce more nuanced diffs. Note: This is a special-purpose API for very specific advanced use cases. Most users can safely ignore it.
- Returns
- The current value for LuminosityCompression.
| DiffOptions& pdftron::PDF::DiffOptions::SetAddGroupAnnots |
( |
bool |
value | ) |
|
Sets the value for AddGroupAnnots in the options object Whether we should add an annot layer indicating the difference regions
- Parameters
-
| value,: | the new value for AddGroupAnnots |
- Returns
- this object, for call chaining
Sets the value for BlendMode in the options object How the two colors should be blended.
- Parameters
-
| value,: | the new value for BlendMode |
- Returns
- this object, for call chaining
Sets the value for ColorA in the options object The difference color for the first page.
- Parameters
-
| value,: | the new value for ColorA |
- Returns
- this object, for call chaining
Sets the value for ColorB in the options object The difference color for the second page
- Parameters
-
| value,: | the new value for ColorB |
- Returns
- this object, for call chaining
| DiffOptions& pdftron::PDF::DiffOptions::SetLuminosityCompression |
( |
double |
value | ) |
|
Sets the value for LuminosityCompression in the options object. Allows for a more or less binary comparison. High values will cause the visual comparison to behave in a strict difference/no difference fashion, while values closer to one will produce more nuanced diffs. Note: This is a special-purpose API for very specific advanced use cases. Most users can safely ignore it.
- Parameters
-
| value | The new value for LuminosityCompression. |
- Returns
- This object, for call chaining.
The documentation for this class was generated from the following file: