FromString() static private method

static private FromString ( string value ) : MagickGeometry
value string
return MagickGeometry
Beispiel #1
0
        internal MagickSettings()
        {
            using (NativeMagickSettings instance = new NativeMagickSettings())
            {
                BackgroundColor = instance.BackgroundColor;
                ColorSpace      = instance.ColorSpace;
                ColorType       = instance.ColorType;
                Compression     = instance.Compression;
                Debug           = instance.Debug;
                Density         = Density.Create(instance.Density);
                Endian          = instance.Endian;
                Extract         = MagickGeometry.FromString(instance.Extract);
                _font           = instance.Font;
                _fontPointsize  = instance.FontPointsize;
                Format          = EnumHelper.Parse(instance.Format, MagickFormat.Unknown);
                Interlace       = instance.Interlace;
                Monochrome      = instance.Monochrome;
                Verbose         = instance.Verbose;
            }

            Drawing = new DrawingSettings();
        }