Skip to main content

Class PsdParser

Namespace: Aurigma.DesignAtoms.Convert.Psd
Assembly: Aurigma.DesignAtoms.dll
Syntax
public 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

Constructors

PsdParser

public PsdParser(IConfiguration configuration, IStateResourcesLoader stateResourcesLoader, IMergeUtil mergeUtil, IImageLoader imageLoader, IFrameConfigHandler frameConfigHandler, IFontService fontService, IItemHandlerFactory itemHandlerFactory, IFontSubstitutionService fontSubstitution, ITemplateStorage templateStorage, IGmColorConverter gmColorConverter, IColorManagement colorManagement, bool ignoreCreateItemExceptions = false)

Methods

ParseRegion

public static RectangleF ParseRegion(PsdFrame frame)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Psd.PsdFrameframe
Returns

System.Drawing.RectangleF

GetName

public static string GetName(Frame frame, bool skipGroupPrefix, Regex markersRegex, Frame parentLimiterFrame = null)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Frameframe
System.BooleanskipGroupPrefix
System.Text.RegularExpressions.RegexmarkersRegex
Aurigma.GraphicsMill.Codecs.FrameparentLimiterFrame
Returns

System.String

CreateMockupContainer

public Tuple<MockupContainer, MissingFontsCollection> CreateMockupContainer(PsdReader psdReader, bool createSmartItem = false)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Psd.PsdReaderpsdReader
System.BooleancreateSmartItem
Returns

System.Tuple<Aurigma.DesignAtoms.Model.MockupContainer,Aurigma.DesignAtoms.Convert.MissingFontsCollection>

FillSurfaceContainers

public Tuple<DesignImagesCollection, MissingFontsCollection> FillSurfaceContainers(PsdReader psdReader, Surface surface, float rasterDpi)
Parameters
TypeNameDescription
Aurigma.GraphicsMill.Codecs.Psd.PsdReaderpsdReader
Aurigma.DesignAtoms.Model.Surfacesurface
System.SinglerasterDpi
Returns

System.Tuple<Aurigma.DesignAtoms.Convert.DesignImagesCollection,Aurigma.DesignAtoms.Convert.MissingFontsCollection>

Was this page helpful?