Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Class RectangleExtension

Namespace: Aurigma.DesignAtoms.Model

Assembly: Aurigma.DesignAtoms.Model.dll

Syntax
public static class RectangleExtension

Inheritance: System.Object -> RectangleExtension

Inherited Members​

  • System.Object.ToString
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object,System.Object)
  • System.Object.ReferenceEquals(System.Object,System.Object)
  • System.Object.GetHashCode
  • System.Object.GetType
  • System.Object.MemberwiseClone

Methods​

GetInflated​

public static RectangleF GetInflated(this RectangleF rect, Margin margin)

Parameters​

TypeNameDescription
System.Drawing.RectangleFrect
Aurigma.DesignAtoms.Model.Marginmargin

Returns​

System.Drawing.RectangleF

GetShrinked​

public static RectangleF GetShrinked(this RectangleF rect, Margin margin)

Parameters​

TypeNameDescription
System.Drawing.RectangleFrect
Aurigma.DesignAtoms.Model.Marginmargin

Returns​

System.Drawing.RectangleF

GetCenter​

public static PointF GetCenter(this RectangleF rect)

Parameters​

TypeNameDescription
System.Drawing.RectangleFrect

Returns​

Aurigma.DesignAtoms.Model.Math.PointF

Was this page helpful?