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()
Namespace: Aurigma.DesignAtoms.Model
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public static class RectangleExtension
Methods
GetCenter(RectangleF)
Declaration
public static PointF GetCenter(this RectangleF rect)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.RectangleF | rect |
Returns
| Type | Description |
|---|---|
| PointF |
GetInflated(RectangleF, Margin)
Declaration
public static RectangleF GetInflated(this RectangleF rect, Margin margin)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.RectangleF | rect | |
| Margin | margin |
Returns
| Type | Description |
|---|---|
| System.Drawing.RectangleF |
GetShrinked(RectangleF, Margin)
Declaration
public static RectangleF GetShrinked(this RectangleF rect, Margin margin)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.RectangleF | rect | |
| Margin | margin |
Returns
| Type | Description |
|---|---|
| System.Drawing.RectangleF |