Class RectangleItem
Inheritance
System.Object
RectangleItem
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model.Items
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class RectangleItem : ShapeItem, ICloneable
Constructors
RectangleItem()
Declaration
public RectangleItem()
RectangleItem(RectangleF)
Declaration
public RectangleItem(RectangleF rectangle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.RectangleF | rectangle |
RectangleItem(Single, Single, Single, Single)
Declaration
public RectangleItem(float x, float y, float width, float height)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | x | |
| System.Single | y | |
| System.Single | width | |
| System.Single | height |
Fields
IncludeBorder
Declaration
public bool IncludeBorder
Field Value
| Type | Description |
|---|---|
| System.Boolean |
Properties
SourceRectangle
Declaration
public override RectangleF SourceRectangle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Drawing.RectangleF |
Overrides
Methods
Accept(ItemVisitor)
Declaration
public override Task Accept(ItemVisitor visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| ItemVisitor | visitor |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Accept<T>(ItemVisitor<T>)
Declaration
public override Task<T> Accept<T>(ItemVisitor<T> visitor)
Parameters
| Type | Name | Description |
|---|---|---|
| ItemVisitor<T> | visitor |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |
Overrides
Aurigma.DesignAtoms.Model.Items.ShapeItem.Accept<T>(Aurigma.DesignAtoms.Model.ItemVisitor<T>)
DeepClone<TItem>(TItem, Boolean)
Declaration
public override TItem DeepClone<TItem>(TItem clone = null, bool keepIds = false)
where TItem : ModelComponent
Parameters
| Type | Name | Description |
|---|---|---|
| TItem | clone | |
| System.Boolean | keepIds |
Returns
| Type | Description |
|---|---|
| TItem |
Type Parameters
| Name | Description |
|---|---|
| TItem |
Overrides
Aurigma.DesignAtoms.Model.Items.ShapeItem.DeepClone<TItem>(TItem, System.Boolean)
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable