Class TextureContainerRenderer
Inheritance
System.Object
TextureContainerRenderer
Implements
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 class TextureContainerRenderer : ICanvasRenderer
Constructors
TextureContainerRenderer(IConfiguration, IColorManagement, Func<Bitmap>)
Declaration
public TextureContainerRenderer(IConfiguration configuration, IColorManagement colorManagement, Func<Bitmap> getTextureBitmap = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IConfiguration | configuration | |
| IColorManagement | colorManagement | |
| System.Func<Aurigma.GraphicsMill.Bitmap> | getTextureBitmap |
Methods
ProcessBitmap(Bitmap, Single)
Declaration
public Bitmap ProcessBitmap(Bitmap bitmap, float resizeMultiplier)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.GraphicsMill.Bitmap | bitmap | |
| System.Single | resizeMultiplier |
Returns
| Type | Description |
|---|---|
| Aurigma.GraphicsMill.Bitmap |
Render(RenderingContext, ICanvas, Single, Color, Nullable<ColorSpace>, IRenderingColorSettings, IColorProfilesProvider, Nullable<Boolean>, Nullable<RectangleF>, Boolean, Boolean, WorkspaceTransformParams)
Declaration
public Bitmap Render(RenderingContext renderingContext, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, RectangleF? bounds = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderingContext | renderingContext | |
| ICanvas | canvas | |
| System.Single | dpi | |
| Aurigma.GraphicsMill.Color | backgroundColor | |
| System.Nullable<ColorSpace> | destinationColorSpace | |
| IRenderingColorSettings | colorSettings | |
| IColorProfilesProvider | profilesProvider | |
| System.Nullable<System.Boolean> | pdfRenderKeepOriginalColors | |
| System.Nullable<System.Drawing.RectangleF> | bounds | |
| System.Boolean | isPreview | |
| System.Boolean | isSingleColorTargetContainer | |
| WorkspaceTransformParams | workspaceTransformParams |
Returns
| Type | Description |
|---|---|
| Aurigma.GraphicsMill.Bitmap |
Render(RenderingContext, PipelineElement, ICanvas, Single, Color, Nullable<ColorSpace>, IRenderingColorSettings, IColorProfilesProvider, Nullable<Boolean>, Nullable<RectangleF>, Boolean, Boolean, WorkspaceTransformParams, Tuple<String, RectangleF>[], Boolean)
Declaration
public void Render(RenderingContext renderingContext, PipelineElement writer, ICanvas canvas, float dpi, Color backgroundColor, ColorSpace? destinationColorSpace, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool? pdfRenderKeepOriginalColors, RectangleF? bounds = null, bool isPreview = false, bool isSingleColorTargetContainer = false, WorkspaceTransformParams workspaceTransformParams = null, Tuple<string, RectangleF>[] pdfBoxes = null, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderingContext | renderingContext | |
| Aurigma.GraphicsMill.PipelineElement | writer | |
| ICanvas | canvas | |
| System.Single | dpi | |
| Aurigma.GraphicsMill.Color | backgroundColor | |
| System.Nullable<ColorSpace> | destinationColorSpace | |
| IRenderingColorSettings | colorSettings | |
| IColorProfilesProvider | profilesProvider | |
| System.Nullable<System.Boolean> | pdfRenderKeepOriginalColors | |
| System.Nullable<System.Drawing.RectangleF> | bounds | |
| System.Boolean | isPreview | |
| System.Boolean | isSingleColorTargetContainer | |
| WorkspaceTransformParams | workspaceTransformParams | |
| System.Tuple<System.String, System.Drawing.RectangleF>[] | pdfBoxes | |
| System.Boolean | isPdfRenderDeviceProfileEnabled |