Class PsdParser
Inheritance
System.Object
PsdParser
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.Convert.Psd
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class PsdParser
Constructors
PsdParser(IConfiguration, IFileCache, IMergeUtil, IImageLoader, IFrameConfigHandler, IFontService, IItemHandlerFactory, IFontSubstitutionService, ITemplateStorage, IGmColorConverter, IColorManagement, Boolean)
Declaration
public PsdParser(IConfiguration configuration, IFileCache fileCache, IMergeUtil mergeUtil, IImageLoader imageLoader, IFrameConfigHandler frameConfigHandler, IFontService fontService, IItemHandlerFactory itemHandlerFactory, IFontSubstitutionService fontSubstitution, ITemplateStorage templateStorage, IGmColorConverter gmColorConverter, IColorManagement colorManagement, bool ignoreCreateItemExceptions = false)
Parameters
| Type | Name | Description |
|---|---|---|
| IConfiguration | configuration | |
| IFileCache | fileCache | |
| IMergeUtil | mergeUtil | |
| IImageLoader | imageLoader | |
| IFrameConfigHandler | frameConfigHandler | |
| IFontService | fontService | |
| IItemHandlerFactory | itemHandlerFactory | |
| IFontSubstitutionService | fontSubstitution | |
| ITemplateStorage | templateStorage | |
| IGmColorConverter | gmColorConverter | |
| IColorManagement | colorManagement | |
| System.Boolean | ignoreCreateItemExceptions |
Methods
CreateMockupContainer(PsdReader, Boolean)
Declaration
public Tuple<MockupContainer, MissingFontsCollection> CreateMockupContainer(PsdReader psdReader, bool createSmartItem = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.GraphicsMill.Codecs.Psd.PsdReader | psdReader | |
| System.Boolean | createSmartItem |
Returns
| Type | Description |
|---|---|
| System.Tuple<MockupContainer, MissingFontsCollection> |
FillSurfaceContainers(PsdReader, Surface, Single)
Declaration
public Tuple<DesignImagesCollection, MissingFontsCollection> FillSurfaceContainers(PsdReader psdReader, Surface surface, float rasterDpi)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.GraphicsMill.Codecs.Psd.PsdReader | psdReader | |
| Surface | surface | |
| System.Single | rasterDpi |
Returns
| Type | Description |
|---|---|
| System.Tuple<DesignImagesCollection, MissingFontsCollection> |
GetName(Frame, Boolean, Regex, Frame)
Declaration
public static string GetName(Frame frame, bool skipGroupPrefix, Regex markersRegex, Frame parentLimiterFrame = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.GraphicsMill.Codecs.Frame | frame | |
| System.Boolean | skipGroupPrefix | |
| System.Text.RegularExpressions.Regex | markersRegex | |
| Aurigma.GraphicsMill.Codecs.Frame | parentLimiterFrame |
Returns
| Type | Description |
|---|---|
| System.String |
ParseRegion(PsdFrame)
Declaration
public static RectangleF ParseRegion(PsdFrame frame)
Parameters
| Type | Name | Description |
|---|---|---|
| Aurigma.GraphicsMill.Codecs.Psd.PsdFrame | frame |
Returns
| Type | Description |
|---|---|
| System.Drawing.RectangleF |