/// <summary> /// Initializes a new instance of the <see cref="DSoft.Datatypes.Formatters.DSImageFormatter"/> class. /// </summary> /// <param name="ImageSize">Image size.</param> public DSImageFormatter(DSSize ImageSize) { mSize = ImageSize; }
/// <summary> /// Initializes a new instance of the <see cref="DSoft.Datatypes.Formatters.DSBooleanFormatter"/> class. /// </summary> /// <param name="Style">Style.</param> public DSBooleanFormatter(BooleanFormatterStyle Style) { mStyle = Style; mSize = new DSSize(20, 20); }
/// <summary> /// Convert to sizef object /// </summary> /// <returns>SizeF</returns> /// <param name="Object">DSSize Object</param> public static CGSize ToSizeF(this DSSize Object) { return(new CGSize((nfloat)Object.Width, (nfloat)Object.Height)); }