Back to Website
Show / Hide Table of Contents

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 true, enables the bleed zone validation. The default value is true.

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:

  • "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.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback