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, Func<Bitmap>)
Declaration
public TextureContainerRenderer(IConfiguration configuration, Func<Bitmap> getTextureBitmap = null)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | configuration | |
System.Func<Aurigma.GraphicsMill.Bitmap> | getTextureBitmap |
Methods
Render(RenderingContext, ICanvas, Single, ColorSpace, Color, Nullable<RectangleF>, Boolean, WorkspaceTransformParams)
Declaration
public Bitmap Render(RenderingContext renderingContext, ICanvas canvas, float dpi, ColorSpace colorSpace, Color backgroundColor, RectangleF? bounds = null, bool isPreview = false, WorkspaceTransformParams workspaceTransformParams = null)
Parameters
Type | Name | Description |
---|---|---|
RenderingContext | renderingContext | |
ICanvas | canvas | |
System.Single | dpi | |
Aurigma.GraphicsMill.ColorSpace | colorSpace | |
Aurigma.GraphicsMill.Color | backgroundColor | |
System.Nullable<System.Drawing.RectangleF> | bounds | |
System.Boolean | isPreview | |
WorkspaceTransformParams | workspaceTransformParams |
Returns
Type | Description |
---|---|
Aurigma.GraphicsMill.Bitmap |
Render(RenderingContext, PipelineElement, ICanvas, Single, ColorSpace, Color, Nullable<RectangleF>, Boolean, WorkspaceTransformParams, Tuple<String, RectangleF>[])
Declaration
public void Render(RenderingContext renderingContext, PipelineElement writer, ICanvas canvas, float dpi, ColorSpace colorSpace, Color backgroundColor, RectangleF? bounds = null, bool isPreview = false, WorkspaceTransformParams workspaceTransformParams = null, Tuple<string, RectangleF>[] pdfBoxes = null)
Parameters
Type | Name | Description |
---|---|---|
RenderingContext | renderingContext | |
Aurigma.GraphicsMill.PipelineElement | writer | |
ICanvas | canvas | |
System.Single | dpi | |
Aurigma.GraphicsMill.ColorSpace | colorSpace | |
Aurigma.GraphicsMill.Color | backgroundColor | |
System.Nullable<System.Drawing.RectangleF> | bounds | |
System.Boolean | isPreview | |
WorkspaceTransformParams | workspaceTransformParams | |
System.Tuple<System.String, System.Drawing.RectangleF>[] | pdfBoxes |