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, ILogger, Item)

Declaration
protected ItemHandler(IConfiguration configuration, IFileCache fileCache, ILogger ccLogger, Item item)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
ILogger ccLogger
Item item

Fields

_ccLogger

Declaration
protected readonly ILogger _ccLogger
Field Value
Type Description
ILogger

_configuration

Declaration
protected readonly IConfiguration _configuration
Field Value
Type Description
IConfiguration

_fileCache

Declaration
protected readonly IFileCache _fileCache
Field Value
Type Description
IFileCache

_logger

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

Properties

BlendMode

Declaration
public BlendMode BlendMode { get; }
Property Value
Type Description
Aurigma.GraphicsMill.Transforms.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

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

ClearColorProfile()

Declaration
public virtual void ClearColorProfile()

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

ConvertColorProfile(IColorManagement, ColorSpace)

Declaration
public virtual void ConvertColorProfile(IColorManagement colorManagement, ColorSpace targetColorSpace)
Parameters
Type Name Description
IColorManagement colorManagement
Aurigma.GraphicsMill.ColorSpace targetColorSpace

CreateVoPermissions()

Declaration
protected Permission CreateVoPermissions()
Returns
Type Description
Permission

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

Draw(RenderingContext, Bitmap, Boolean)

Declaration
public virtual void Draw(RenderingContext renderingContext, Bitmap bitmap, bool isPreview = false)
Parameters
Type Name Description
RenderingContext renderingContext
Aurigma.GraphicsMill.Bitmap bitmap
System.Boolean isPreview

EndUpdate()

Declaration
public void EndUpdate()

GetColorManagement(Boolean)

Declaration
protected IColorManagement GetColorManagement(bool isPreview = false)
Parameters
Type Name Description
System.Boolean isPreview
Returns
Type Description
IColorManagement

GetDestinationColor(Color, IImageParams, IColorManagement, Single, Boolean)

Declaration
protected Color GetDestinationColor(Color color, IImageParams destImageParams = null, IColorManagement colorManagement = null, float opacity = 1F, bool renderOnPdf = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.Color color
Aurigma.GraphicsMill.IImageParams destImageParams
IColorManagement colorManagement
System.Single opacity
System.Boolean renderOnPdf
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()

Transform_TransformChanged(Object, EventArgs)

Declaration
protected virtual void Transform_TransformChanged(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
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...