Class Surface
Inheritance
System.Object
Surface
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()
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class Surface : ModelComponent, ICloneable
Constructors
Surface()
Declaration
Surface(Single, Single, SurfaceMockup, Collection<PrintArea>)
Declaration
public Surface(float width, float height, SurfaceMockup mockup = null, Collection<PrintArea> printAreas = null)
Parameters
Fields
Height
Declaration
Field Value
| Type |
Description |
| System.Single |
|
RotateAngle
Declaration
Field Value
| Type |
Description |
| System.Single |
|
Width
Declaration
Field Value
| Type |
Description |
| System.Single |
|
Properties
BgContainer
Declaration
public SurfaceContainer BgContainer { get; }
Property Value
Containers
Declaration
public Collection<SurfaceContainer> Containers { get; set; }
Property Value
FgContainer
Declaration
public SurfaceContainer FgContainer { get; }
Property Value
InteractiveZones
Declaration
public Collection<InteractiveZone> InteractiveZones { get; set; }
Property Value
MainContainer
Declaration
public SurfaceContainer MainContainer { get; }
Property Value
Mockup
Declaration
public SurfaceMockup Mockup { get; set; }
Property Value
ParentProduct
Declaration
public Product ParentProduct { get; set; }
Property Value
PreviewMockups
Declaration
public Collection<SurfaceMockup> PreviewMockups { get; set; }
Property Value
PreviewMockupsCount
Declaration
public int PreviewMockupsCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
PrintAreas
Declaration
public Collection<PrintArea> PrintAreas { get; }
Property Value
Size
Declaration
public SizeF Size { get; }
Property Value
| Type |
Description |
| System.Drawing.SizeF |
|
Watermark
Declaration
public Watermark Watermark { get; set; }
Property Value
Methods
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 Parameters
Overrides
Aurigma.DesignAtoms.Model.ModelComponent.DeepClone<TItem>(TItem, System.Boolean)
Equals(Surface)
Declaration
protected bool Equals(Surface other)
Parameters
| Type |
Name |
Description |
| Surface |
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
GetAllItems(GetAllItemsOptions)
Declaration
public IEnumerable<BaseItem> GetAllItems(GetAllItemsOptions options = null)
Parameters
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<BaseItem> |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.ICloneable