Back to Website
Show / Hide Table of Contents

Class SafetyLine

Inheritance
System.Object
SafetyLine
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class SafetyLine

Constructors

SafetyLine()

Declaration
public SafetyLine()

SafetyLine(String, Single, RgbColor, RgbColor, Single, Single, Nullable<Single>, Nullable<Single>, String)

Declaration
public SafetyLine(string name, float margin, RgbColor color, RgbColor altColor, float stepPx, float widthPx, float? leftRightMargin = null, float? topBottomMargin = null, string borderRadius = null)
Parameters
Type Name Description
System.String name
System.Single margin
RgbColor color
RgbColor altColor
System.Single stepPx
System.Single widthPx
System.Nullable<System.Single> leftRightMargin
System.Nullable<System.Single> topBottomMargin
System.String borderRadius

Fields

AltColor

Declaration
public RgbColor AltColor
Field Value
Type Description
RgbColor

BorderRadius

Declaration
public string BorderRadius
Field Value
Type Description
System.String

Color

Declaration
public RgbColor Color
Field Value
Type Description
RgbColor

Margin

Declaration
public Margin Margin
Field Value
Type Description
Margin

Name

Declaration
public string Name
Field Value
Type Description
System.String

PdfBox

Declaration
public PdfBox? PdfBox
Field Value
Type Description
System.Nullable<PdfBox>

StepPx

Declaration
public float StepPx
Field Value
Type Description
System.Single

WidthPx

Declaration
public float WidthPx
Field Value
Type Description
System.Single

Methods

Clone()

Declaration
public SafetyLine Clone()
Returns
Type Description
SafetyLine

Equals(SafetyLine)

Declaration
protected bool Equals(SafetyLine other)
Parameters
Type Name Description
SafetyLine other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.Object.Equals(System.Object)

GetBytes()

Declaration
public byte[] GetBytes()
Returns
Type Description
System.Byte[]

GetCornerRadiuses(RectangleF, Single)

Declaration
public SizeF[] GetCornerRadiuses(RectangleF bounds, float dpi)
Parameters
Type Name Description
System.Drawing.RectangleF bounds
System.Single dpi
Returns
Type Description
System.Drawing.SizeF[]

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

GetRectangle(RectangleF)

Declaration
public RectangleF GetRectangle(RectangleF bounds)
Parameters
Type Name Description
System.Drawing.RectangleF bounds
Returns
Type Description
System.Drawing.RectangleF

Merge(SafetyLine, Boolean)

Declaration
public void Merge(SafetyLine other, bool mergeMargin = false)
Parameters
Type Name Description
SafetyLine other
System.Boolean mergeMargin

Normalize()

Declaration
public void Normalize()
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