Interface ISafetyLinesConfig
A structure defining the validation of safety lines and the bleed zone.
Package: @aurigma/design-editor-iframe
Remarks
IViolationWarningsSettingsConfig uses this interface. You can also specify tolerance to disable warnings about violations of safety lines or the bleed zone when an object is close enough to them. For details, see the Warnings topic.
Examples
{
"violationWarningsSettings": {
"tolerance": 0.01,
"safetyLines": {
"enabled": true,
"mode": "InsideAll"
}
}
}
Properties
enabled
If true, enables the bleed zone validation. The default value is true.
Declaration
enabled: boolean;
Property Value
| Type | Description |
|---|---|
| boolean | If |
mode
The validation mode, one of:
"InsideAll"- a warning does not appear only if the element is inside all safety lines."PartiallyInsideAny"- a warning does not appear if at least one safety zone contains the element. This is the default value."InsideAny"- a warning does not appear if at least one safety zone contains the element, however, no safety lines should intersect the element.
Declaration
mode: SafetyLineViolationMode;
Property Value
| Type | Description |
|---|---|
| SafetyLineViolationMode | The validation mode, one of:
|