Back to Website
Show / Hide Table of Contents

Class ItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
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()
Namespace: Aurigma.DesignAtoms.Canvas.ItemHandlers
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
Type Name Description
IConfiguration configuration
IFileCache fileCache
IColorManagement colorManagement
ILogger ccLogger
IGmColorConverter gmColorConverter
Item item

Fields

_ccLogger

Declaration
protected readonly ILogger _ccLogger
Field Value
Type Description
ILogger

_colorManagement

Declaration
protected readonly IColorManagement _colorManagement
Field Value
Type Description
IColorManagement

_configuration

Declaration
protected readonly IConfiguration _configuration
Field Value
Type Description
IConfiguration

_fileCache

Declaration
protected readonly IFileCache _fileCache
Field Value
Type Description
IFileCache

_gmColorConverter

Declaration
protected readonly IGmColorConverter _gmColorConverter
Field Value
Type Description
IGmColorConverter

_logger

Declaration
protected readonly ILogger _logger
Field Value
Type Description
NLog.ILogger

Properties

BlendMode

Declaration
public BlendMode BlendMode { get; }
Property Value
Type Description
BlendMode

Bounds

Declaration
public abstract RectangleF Bounds { get; }
Property Value
Type Description
System.Drawing.RectangleF

Canvas

Declaration
public ICanvas Canvas { get; }
Property Value
Type Description
ICanvas

ControlPoints

Declaration
public virtual PointF[] ControlPoints { get; set; }
Property Value
Type Description
PointF[]

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
Type Description
Item

Layer

Declaration
public Layer Layer { get; }
Property Value
Type Description
Layer

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
Type Description
IPermission

SourceColorProfilesOrDefault

Declaration
protected ISourceColorProfiles SourceColorProfilesOrDefault { get; }
Property Value
Type Description
ISourceColorProfiles

Tag

Declaration
public object Tag { get; set; }
Property Value
Type Description
System.Object

Transform

Declaration
public Transform Transform { get; set; }
Property Value
Type Description
Transform

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
public object Clone()
Returns
Type Description
System.Object

Dispose()

Declaration
public void Dispose()

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
Type Name Description
RenderingContext renderingContext
Aurigma.GraphicsMill.Bitmap bitmap
DrawItemParams drawItemParams
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
System.Boolean isPdfRenderDeviceProfileEnabled

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
Type Name Description
RenderingContext renderingContext
Aurigma.GraphicsMill.Bitmap bitmap
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
System.Boolean isPdfRenderDeviceProfileEnabled

EndUpdate()

Declaration
public void EndUpdate()

GetDestinationColor(Color, IColorProfilesProvider, IRenderingColorSettings, Nullable<PixelFormat>, Single, Boolean, Boolean)

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
Type Description
ItemHandlerData

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()

OnTransformChanged(Object, EventArgs)

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
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback