Class Colorizer
Namespace: Aurigma.DesignAtoms.ImageProcessing.Effects.Colorize
Assembly: Aurigma.DesignAtoms.ImageProcessing.dll
Syntax
public class Colorizer : IDisposable
Inheritance: System.Object -> Colorizer
Implements
System.IDisposable
Inherited Members
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
Colorizer
public Colorizer(Color targetColor, bool isUpscaleImages, ResizeInterpolationMode resizeInterpolationMode)
Methods
GetPipelineElements
public IEnumerable<PipelineElement> GetPipelineElements(Pipeline pipeline, double target, IList<IDisposable> disposables, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.Pipeline | pipeline | |
System.Double | target | |
System.Collections.Generic.IList<System.IDisposable> | disposables | |
System.Threading.CancellationToken | cancellationToken |
Returns
System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.PipelineElement>
ColorizeContainer
public void ColorizeContainer(GraphicsContainer graphicsContainer, float dpi, double target = 0.45, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
Aurigma.GraphicsMill.AdvancedDrawing.GraphicsContainer | graphicsContainer | |
System.Single | dpi | |
System.Double | target | |
System.Threading.CancellationToken | cancellationToken |
Dispose
public void Dispose()