public static bool TryParse(string str, out Sizei result) { bool ret = NoesisGUI_PINVOKE.Sizei_TryParse(str != null ? str : string.Empty, out result); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Sizei Parse(string str) { Sizei size; if (Sizei.TryParse(str, out size)) { return(size); } throw new ArgumentException("Cannot create Sizei from '" + str + "'"); }
public static bool TryParse(string str, out Sizei result) { bool ret = NoesisGUI_PINVOKE.Sizei_TryParse(str != null ? str : string.Empty, out result); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif return(ret); }
public void Inflate(Sizei size) { Inflate((int)size.Width, (int)size.Height); }
public Recti(Pointi p, Sizei size) : this(p.X, p.Y, size.Width, size.Height) { }
public Recti(Sizei size) : this(0, 0, size.Width, size.Height) { }
public Size(Sizei size) : this((float)size.Width, (float)size.Height) { }
public void Expand(Sizei size) { Width = Math.Max(Width, size.Width); Height = Math.Max(Height, size.Height); }
public bool Equals(Sizei v) { return(this == v); }
public Pointi(Sizei size) : this((int)size.Width, (int)size.Height) { }