Exemplo n.º 1
0
        internal static MagickGeometry Create(Wrapper.MagickGeometry value)
        {
            if (value == null)
            {
                return(null);
            }

            return(new MagickGeometry(value));
        }
Exemplo n.º 2
0
 private MagickGeometry(Wrapper.MagickGeometry instance)
 {
   _Instance = instance;
 }
Exemplo n.º 3
0
 private void Initialize(int x, int y, int width, int height, bool isPercentage)
 {
   _Instance = new Wrapper.MagickGeometry(x, y, width, height, isPercentage);
 }
Exemplo n.º 4
0
    ///<summary>
    /// Initializes a new instance of the MagickGeometry class using the specified geometry.
    ///</summary>
    ///<param name="value">Geometry specifications in the form: &lt;width&gt;x&lt;height&gt;
    ///{+-}&lt;xoffset&gt;{+-}&lt;yoffset&gt; (where width, height, xoffset, and yoffset are numbers)</param>
    public MagickGeometry(string value)
    {
      Throw.IfNullOrEmpty("value", value);

      _Instance = new Wrapper.MagickGeometry(value);
    }
Exemplo n.º 5
0
 private MagickGeometry(Wrapper.MagickGeometry instance)
 {
     _Instance = instance;
 }
Exemplo n.º 6
0
 private void Initialize(int x, int y, int width, int height, bool isPercentage)
 {
     _Instance = new Wrapper.MagickGeometry(x, y, width, height, isPercentage);
 }
Exemplo n.º 7
0
        ///<summary>
        /// Initializes a new instance of the MagickGeometry class using the specified geometry.
        ///</summary>
        ///<param name="value">Geometry specifications in the form: &lt;width&gt;x&lt;height&gt;
        ///{+-}&lt;xoffset&gt;{+-}&lt;yoffset&gt; (where width, height, xoffset, and yoffset are numbers)</param>
        public MagickGeometry(string value)
        {
            Throw.IfNullOrEmpty("value", value);

            _Instance = new Wrapper.MagickGeometry(value);
        }