- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- APIs
- IFrame API
- Web API
- Design Atoms Framework
- What's New?
- Design Atoms Framework Overview
- Creating Applications with Design Atoms Framework
- Working with the Object Model
- Groups of Design Elements
- Using Dependency Injection
- Loading Templates
- Saving Products
- Rendering Products
- Reference
- Aurigma.DesignAtoms.Common Namespace
- Aurigma.DesignAtoms.Common.Math Namespace
- Aurigma.DesignAtoms.Configuration Namespace
- Aurigma.DesignAtoms.Configuration.RenderingConfig Namespace
- Aurigma.DesignAtoms.Convert Namespace
- Aurigma.DesignAtoms.Licensing Namespace
- Aurigma.DesignAtoms.Model Namespace
- Container Class
- CropMark Class
- DataSet Class
- FontSettings Class
- ItemMask Class
- IWatermarkItemsBuilder Interface
- MockupContainer Class
- ModelComponent Class
- PdfBox Enumeration
- PrintArea Class
- Product Class
- SafetyLine Class
- ShadowSettings Class
- SpotColorContainer Class
- State Class
- StrokeSettings Class
- Surface Class
- SurfaceBinding Class
- SurfaceContainer Class
- SurfaceData Class
- SurfaceDataCollection Class
- SurfaceMockup Class
- TextureContainer Class
- Watermark Class
- Aurigma.DesignAtoms.Model.CustomData Namespace
- Aurigma.DesignAtoms.Model.Items Namespace
- Aurigma.DesignAtoms.Rendering Namespace
- Aurigma.DesignAtoms.Serialization Namespace
- Aurigma.DesignAtoms.Serialization.Json.Product Namespace
- UI Framework
- Dynamic Image API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.
SafetyLine Constructor (String, Single, , , Single, Single, Nullable(Single), Nullable(Single), String)
Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation
Initializes a new instance of the SafetyLine class with the specified properties.
Namespace:
Aurigma.DesignAtoms.Model
Assembly:
Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
Syntax
C#
public SafetyLine(
string name,
float margin,
RgbColor color,
RgbColor altColor,
float stepPx,
float widthPx,
Nullable<float> leftRightMargin,
Nullable<float> topBottomMargin,
string borderRadius
)
Parameters
- name
-
Type: System.String
The name of this safety line. The default value is an empty string.
- margin
-
Type: System.Single
The distance between the safety line and print area bounds, in points. The default value is10.
- color
-
Type: RgbColor
The color of dashes representing a safety line; a CSS-style color value. The default value is"rgba(255,255,255,1)".
- altColor
-
Type: RgbColor
The alternate color of dashes; a CSS-style color value. The default value is"rgba(0,0,0,1)".
- stepPx
-
Type: System.Single
The dash length, in pixels. The default value is10.
- widthPx
-
Type: System.Single
The width of dashes, in pixels. The default value is1.
- leftRightMargin
-
Type: System.Nullable<Single>
- topBottomMargin
-
Type: System.Nullable<Single>
- borderRadius
-
Type: System.String
The definition of rounded corners in the CSS format. By default, this parameter isnull, and the safety zone is not rounded. You can find examples in the Safety Lines topic.