Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

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​

Inherited Members​

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​

TypeNameDescription
System.Action<Aurigma.DesignAtoms.Canvas.ItemHandlers.ContentItemHandler>func

UpdateNestedItemHandlerLayouts​

public bool UpdateNestedItemHandlerLayouts(Func<ItemHandler, bool> updateFunc)

Parameters​

TypeNameDescription
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​

TypeNameDescription
System.Singledpi
System.Booleanrotate

Returns​

Aurigma.GraphicsMill.Drawing.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​

TypeNameDescription
Aurigma.GraphicsMill.Pipelinepipeline
Aurigma.GraphicsMill.IImageParamsdestImageParams
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Singlescale
System.Collections.Generic.IEnumerable<System.IDisposable>deps
Aurigma.DesignAtoms.Model.Math.PointFoffset
System.BooleanisPreview
System.BooleanisSingleColorContainer

Dispose​

protected override void Dispose(bool disposing)

Parameters​

TypeNameDescription
System.Booleandisposing

Overrides​

Was this page helpful?