Class PlaceholderItemHandler
Namespace: Aurigma.DesignAtoms.Canvas.ItemHandlers
Assembly: Aurigma.DesignAtoms.dll
Syntax
public sealed class PlaceholderItemHandler : ShapeItemHandler, ICloneable, IDisposable, IContainerItemHandler
Inheritance: System.Object -> Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler -> Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler -> Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler -> PlaceholderItemHandler
Implements
System.ICloneableSystem.IDisposable- Aurigma.DesignAtoms.Canvas.ItemHandlers.IContainerItemHandler
Inherited Members
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.ItemOnPropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetBorderColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetAltBorderColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetFillColor(Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetTransformedPath()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.UpdateControlPoints()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetBorderWidth(System.Single)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetShapeDrawer(Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, System.Single, Aurigma.DesignAtoms.Model.Math.PointF, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetPath()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.GetDrawingFillColor(Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.FillShape(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.StrokeShape(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.Model.Color.PixelFormat, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.DrawShape(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.AdvancedDrawing.Graphics, Aurigma.GraphicsMill.IImageParams, Aurigma.DesignAtoms.Canvas.ItemHandlers.DrawItemParams, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.Path
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.Dash
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.BorderWidth
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.FixedBorderWidth
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ShapeItemHandler.Bounds
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.MinDimension
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransform(System.Drawing.RectangleF, Aurigma.DesignAtoms.Model.Math.RotatedRectangleF)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.DrawClippingPath(Aurigma.GraphicsMill.AdvancedDrawing.Graphics, System.Action)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetTransformedVectorMask(Aurigma.DesignAtoms.Model.Math.Transform, Aurigma.DesignAtoms.Model.Math.PointF, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetDrawingPath(System.Single)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.GetActualDash(System.Single[], System.Boolean, System.Single)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Rectangle
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Angle
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Height
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Width
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Location
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.Opacity
- Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseRectangleItemHandler.TextWrappingMode
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._stateResourcesRepository
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._configuration
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._logger
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._colorManagement
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler._gmColorConverter
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Draw(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.Bitmap, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Draw(Aurigma.DesignAtoms.Canvas.RenderingContext, Aurigma.GraphicsMill.Bitmap, Aurigma.DesignAtoms.Canvas.ItemHandlers.DrawItemParams, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, System.Boolean, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ItemOnPermissionsChanged(System.Object, System.EventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BeginUpdate()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.EndUpdate()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Dispose()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnTransformChanged(System.Object, System.EventArgs)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.OnChanged()
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.GetDestinationColor(Aurigma.GraphicsMill.Color, Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider, Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings, System.Nullable<Aurigma.DesignAtoms.Model.Color.PixelFormat>, System.Single, System.Boolean, System.Boolean)
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.IsEmpty
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.ControlPoints
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.UniqueId
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Transform
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Tag
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Layer
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.IsUpdating
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Index
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Canvas
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Name
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.BlendMode
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Permissions
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Data
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Locked
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.SourceColorProfilesOrDefault
- Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler.Changed
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
PlaceholderItemHandler
public PlaceholderItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, PlaceholderItem item)
PlaceholderItemHandler
public PlaceholderItemHandler(IConfiguration configuration, IStateResourcesRepository stateResourcesRepository, IColorManagement colorManagement, IGmColorConverter gmColorConverter, PlaceholderItem item, ContentItemHandler content)
Properties
Item
public PlaceholderItem Item { get; }
Visible
public override bool Visible { get; set; }
Content
public ContentItemHandler Content { get; set; }
IsStubContent
public bool IsStubContent { get; set; }
ShowMaskedContent
public bool ShowMaskedContent { get; set; }
IsEmptyContent
public bool IsEmptyContent { get; }
IsStubOrEmptyContent
public bool IsStubOrEmptyContent { get; }
IsNestedContainerItemsAlreadyUpdated
public bool IsNestedContainerItemsAlreadyUpdated { get; set; }
IsCoverMode
public bool IsCoverMode { get; set; }
TopFrames
public List<ContentItemHandler> TopFrames { get; set; }
BottomFrames
public List<ContentItemHandler> BottomFrames { get; set; }
CanExtendPipeline
public bool CanExtendPipeline { get; }
Methods
Clone
public object Clone()
Returns
System.Object
GetItemHandlerData
public override ItemHandlerData GetItemHandlerData()
Returns
Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandlerData
Overrides
GetItemHandlerDataType
public override string GetItemHandlerDataType()
Returns
System.String
Overrides
UpdateContentAndFrames
public void UpdateContentAndFrames(Action<ContentItemHandler> func)
Parameters
| Type | Name | Description |
|---|---|---|
System.Action<Aurigma.DesignAtoms.Canvas.ItemHandlers.ContentItemHandler> | func |
UpdateNestedItemHandlerLayouts
public bool UpdateNestedItemHandlerLayouts(Func<ItemHandler, bool> updateFunc)
Parameters
| Type | Name | Description |
|---|---|---|
System.Func<Aurigma.DesignAtoms.Canvas.ItemHandlers.ItemHandler,System.Boolean> | updateFunc |
Returns
System.Boolean
GetClippingPath
protected override Path GetClippingPath(float dpi = 72F, bool rotate = true)
Parameters
| Type | Name | Description |
|---|---|---|
System.Single | dpi | |
System.Boolean | rotate |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.Path
Overrides
ExtendPipeline
public void ExtendPipeline(Pipeline pipeline, IImageParams destImageParams, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, float scale, out IEnumerable<IDisposable> deps, PointF offset, bool isPreview, bool isSingleColorContainer)
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Pipeline | pipeline | |
Aurigma.GraphicsMill.IImageParams | destImageParams | |
| Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettings | colorSettings | |
| Aurigma.DesignAtoms.ColorManagement.IColorProfilesProvider | profilesProvider | |
System.Single | scale | |
System.Collections.Generic.IEnumerable<System.IDisposable> | deps | |
| Aurigma.DesignAtoms.Model.Math.PointF | offset | |
System.Boolean | isPreview | |
System.Boolean | isSingleColorContainer |
Dispose
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
System.Boolean | disposing |