Class ItemHandler
Inheritance
System.Object
ItemHandler
Implements
System.ICloneable
System.IDisposable
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()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public abstract class ItemHandler : ICloneable, IDisposable
Constructors
ItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IGmColorConverter, Item)
Declaration
protected ItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger ccLogger, IGmColorConverter gmColorConverter, Item item)
Parameters
Fields
_ccLogger
Declaration
protected readonly ILogger _ccLogger
Field Value
_colorManagement
Declaration
protected readonly IColorManagement _colorManagement
Field Value
_configuration
Declaration
protected readonly IConfiguration _configuration
Field Value
_fileCache
Declaration
protected readonly IFileCache _fileCache
Field Value
_gmColorConverter
Declaration
protected readonly IGmColorConverter _gmColorConverter
Field Value
_logger
Declaration
protected readonly ILogger _logger
Field Value
| Type |
Description |
| NLog.ILogger |
|
Properties
BlendMode
Declaration
public BlendMode BlendMode { get; }
Property Value
Bounds
Declaration
public abstract RectangleF Bounds { get; }
Property Value
| Type |
Description |
| System.Drawing.RectangleF |
|
Canvas
Declaration
public ICanvas Canvas { get; }
Property Value
ControlPoints
Declaration
public virtual PointF[] ControlPoints { get; set; }
Property Value
Data
Declaration
public string Data { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Index
Declaration
public int Index { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
IsEmpty
Declaration
public virtual bool IsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsUpdating
Declaration
public bool IsUpdating { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Item
Declaration
public Item Item { get; }
Property Value
Layer
Declaration
public Layer Layer { get; }
Property Value
Locked
Declaration
public virtual bool Locked { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Name
Declaration
public string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Permissions
Declaration
public IPermission Permissions { get; }
Property Value
SourceColorProfilesOrDefault
Declaration
protected ISourceColorProfiles SourceColorProfilesOrDefault { get; }
Property Value
Tag
Declaration
public object Tag { get; set; }
Property Value
| Type |
Description |
| System.Object |
|
Declaration
public Transform Transform { get; set; }
Property Value
UniqueId
Declaration
public string UniqueId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Visible
Declaration
public virtual bool Visible { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
BeginUpdate()
Declaration
public void BeginUpdate()
Clone()
Declaration
Returns
| Type |
Description |
| System.Object |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
Draw(RenderingContext, Bitmap, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
Declaration
public virtual void Draw(RenderingContext renderingContext, Bitmap bitmap, DrawItemParams drawItemParams, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool isPreview = false, bool isSingleColorTargetContainer = false, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
Draw(RenderingContext, Bitmap, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
Declaration
public void Draw(RenderingContext renderingContext, Bitmap bitmap, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool isPreview = false, bool isSingleColorTargetContainer = false, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
EndUpdate()
Declaration
Declaration
protected Color GetDestinationColor(Color color, IColorProfilesProvider colorProfilesProvider, IRenderingColorSettings colorSettings, PixelFormat? destinationPixelFormat, float opacity, bool renderOnPdf, bool pdfRenderKeepOriginalColors)
Parameters
| Type |
Name |
Description |
| Aurigma.GraphicsMill.Color |
color |
|
| IColorProfilesProvider |
colorProfilesProvider |
|
| IRenderingColorSettings |
colorSettings |
|
| System.Nullable<PixelFormat> |
destinationPixelFormat |
|
| System.Single |
opacity |
|
| System.Boolean |
renderOnPdf |
|
| System.Boolean |
pdfRenderKeepOriginalColors |
|
Returns
| Type |
Description |
| Aurigma.GraphicsMill.Color |
|
GetItemHandlerData()
Declaration
public abstract ItemHandlerData GetItemHandlerData()
Returns
GetItemHandlerDataType()
Declaration
public abstract string GetItemHandlerDataType()
Returns
| Type |
Description |
| System.String |
|
ItemOnPermissionsChanged(Object, EventArgs)
Declaration
protected virtual void ItemOnPermissionsChanged(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
ItemOnPropertyChanged(Object, PropertyChangedEventArgs)
Declaration
protected virtual void ItemOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChangedEventArgs)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.ComponentModel.PropertyChangedEventArgs |
propertyChangedEventArgs |
|
OnChanged()
Declaration
protected virtual void OnChanged()
Declaration
protected virtual void OnTransformChanged(object sender, EventArgs e)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
| System.EventArgs |
e |
|
Events
Changed
Declaration
public event EventHandler Changed
Event Type
| Type |
Description |
| System.EventHandler |
|
Implements
System.ICloneable
System.IDisposable