Back to Website
Show / Hide Table of Contents

Class ShapeItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
EllipseItemHandler
PlaceholderItemHandler
RectangleItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.GetDrawingPath(Single)
BaseRectangleItemHandler.GetActualDash(Single[], Boolean, Single)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.TextWrappingMode
ItemHandler._fileCache
ItemHandler._configuration
ItemHandler._ccLogger
ItemHandler._logger
ItemHandler._colorManagement
ItemHandler._gmColorConverter
ItemHandler.Draw(RenderingContext, Bitmap, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.Draw(RenderingContext, Bitmap, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.ItemOnPermissionsChanged(Object, EventArgs)
ItemHandler.Clone()
ItemHandler.BeginUpdate()
ItemHandler.EndUpdate()
ItemHandler.Dispose()
ItemHandler.OnTransformChanged(Object, EventArgs)
ItemHandler.OnChanged()
ItemHandler.GetDestinationColor(Color, IColorProfilesProvider, IRenderingColorSettings, Nullable<PixelFormat>, Single, Boolean, Boolean)
ItemHandler.Dispose(Boolean)
ItemHandler.IsEmpty
ItemHandler.ControlPoints
ItemHandler.UniqueId
ItemHandler.Transform
ItemHandler.Tag
ItemHandler.Layer
ItemHandler.IsUpdating
ItemHandler.Index
ItemHandler.Canvas
ItemHandler.Name
ItemHandler.BlendMode
ItemHandler.Permissions
ItemHandler.Data
ItemHandler.Visible
ItemHandler.Locked
ItemHandler.SourceColorProfilesOrDefault
ItemHandler.Changed
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 class ShapeItemHandler : BaseRectangleItemHandler, ICloneable, IDisposable

Constructors

ShapeItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IGmColorConverter, ShapeItem)

Declaration
public ShapeItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger ccLogger, IGmColorConverter gmColorConverter, ShapeItem item)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
IColorManagement colorManagement
ILogger ccLogger
IGmColorConverter gmColorConverter
ShapeItem item

Properties

BorderWidth

Declaration
public float BorderWidth { get; set; }
Property Value
Type Description
System.Single

Bounds

Declaration
public override RectangleF Bounds { get; }
Property Value
Type Description
System.Drawing.RectangleF
Overrides
BaseRectangleItemHandler.Bounds

Dash

Declaration
public float[] Dash { get; set; }
Property Value
Type Description
System.Single[]

FixedBorderWidth

Declaration
public bool FixedBorderWidth { get; set; }
Property Value
Type Description
System.Boolean

Item

Declaration
public ShapeItem Item { get; }
Property Value
Type Description
ShapeItem

Path

Declaration
public virtual Path Path { get; set; }
Property Value
Type Description
Path

Methods

DrawShape(RenderingContext, Graphics, IImageParams, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
protected void DrawShape(RenderingContext renderingContext, Graphics graphics, IImageParams destImageParams, DrawItemParams drawItemParams, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool rasterizeVectorLayers, bool renderOnPdf, bool isPreview, bool isSingleColorTargetContainer, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
Type Name Description
RenderingContext renderingContext
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
Aurigma.GraphicsMill.IImageParams destImageParams
DrawItemParams drawItemParams
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Boolean rasterizeVectorLayers
System.Boolean renderOnPdf
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
System.Boolean isPdfRenderDeviceProfileEnabled

FillShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)

Declaration
protected virtual void FillShape(Graphics graphics, IRenderingColorSettings colorSettings, PixelFormat destinationPixelFormat, IColorProfilesProvider profilesProvider, bool renderOnPdf, bool pdfRenderKeepOriginalColors, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
IRenderingColorSettings colorSettings
PixelFormat destinationPixelFormat
IColorProfilesProvider profilesProvider
System.Boolean renderOnPdf
System.Boolean pdfRenderKeepOriginalColors
System.Boolean isPdfRenderDeviceProfileEnabled

GetAltBorderColor(IColorProfilesProvider)

Declaration
public Color GetAltBorderColor(IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
IColorProfilesProvider profilesProvider
Returns
Type Description
Aurigma.GraphicsMill.Color

GetBorderColor(IColorProfilesProvider)

Declaration
public Color GetBorderColor(IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
IColorProfilesProvider profilesProvider
Returns
Type Description
Aurigma.GraphicsMill.Color

GetBorderWidth(Single)

Declaration
protected float GetBorderWidth(float dpi = 72F)
Parameters
Type Name Description
System.Single dpi
Returns
Type Description
System.Single

GetDrawingFillColor(PixelFormat, IColorProfilesProvider)

Declaration
protected virtual Color GetDrawingFillColor(PixelFormat destinationPixelFormat, IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
PixelFormat destinationPixelFormat
IColorProfilesProvider profilesProvider
Returns
Type Description
Aurigma.GraphicsMill.Color

GetFillColor(IColorProfilesProvider)

Declaration
public Color GetFillColor(IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
IColorProfilesProvider profilesProvider
Returns
Type Description
Aurigma.GraphicsMill.Color

GetItemHandlerData()

Declaration
public override ItemHandlerData GetItemHandlerData()
Returns
Type Description
ItemHandlerData
Overrides
ItemHandler.GetItemHandlerData()

GetItemHandlerDataType()

Declaration
public override string GetItemHandlerDataType()
Returns
Type Description
System.String
Overrides
ItemHandler.GetItemHandlerDataType()

GetPath()

Declaration
protected override Path GetPath()
Returns
Type Description
Aurigma.GraphicsMill.AdvancedDrawing.Path
Overrides
BaseRectangleItemHandler.GetPath()

GetShapeDrawer(IRenderingColorSettings, PixelFormat, Single, PointF, IColorProfilesProvider)

Declaration
protected Drawer GetShapeDrawer(IRenderingColorSettings colorSettings, PixelFormat destinationPixelFormat, float scale, PointF offset, IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
IRenderingColorSettings colorSettings
PixelFormat destinationPixelFormat
System.Single scale
PointF offset
IColorProfilesProvider profilesProvider
Returns
Type Description
Aurigma.GraphicsMill.AdvancedDrawing.Drawer

GetTransformedPath()

Declaration
public Path GetTransformedPath()
Returns
Type Description
Path

ItemOnPropertyChanged(Object, PropertyChangedEventArgs)

Declaration
protected override void ItemOnPropertyChanged(object sender, PropertyChangedEventArgs propertyChangedEventArgs)
Parameters
Type Name Description
System.Object sender
System.ComponentModel.PropertyChangedEventArgs propertyChangedEventArgs
Overrides
ItemHandler.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)

StrokeShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)

Declaration
protected void StrokeShape(Graphics graphics, IRenderingColorSettings colorSettings, PixelFormat destinationPixelFormat, IColorProfilesProvider profilesProvider, bool renderOnPdf, bool pdfRenderKeepOriginalColors, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
IRenderingColorSettings colorSettings
PixelFormat destinationPixelFormat
IColorProfilesProvider profilesProvider
System.Boolean renderOnPdf
System.Boolean pdfRenderKeepOriginalColors
System.Boolean isPdfRenderDeviceProfileEnabled

UpdateControlPoints()

Declaration
protected void UpdateControlPoints()

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