public EditTextBuilder(FontBuilder builder, float height, bool useOutlines, bool readOnly, bool noSelect)
        {
            tag = new DefineEditText();
            //UPGRADE_WARNING: Data types in Visual C# might be different.  Verify the accuracy of narrowing conversions. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1042'"
            tag.height = (int)System.Math.Round((double)(height * flash.swf.SwfConstants_Fields.TWIPS_PER_PIXEL));

            if (builder != null)
            {
                fontBuilder = builder;
                tag.hasFont = true;
            }

            tag.useOutlines = useOutlines;
            tag.readOnly    = readOnly;
            tag.noSelect    = noSelect;
        }
Ejemplo n.º 2
0
		public EditTextBuilder(FontBuilder builder, float height, bool useOutlines, bool readOnly, bool noSelect)
		{
			tag = new DefineEditText();
			//UPGRADE_WARNING: Data types in Visual C# might be different.  Verify the accuracy of narrowing conversions. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1042'"
			tag.height = (int) System.Math.Round((double) (height * flash.swf.SwfConstants_Fields.TWIPS_PER_PIXEL));
			
			if (builder != null)
			{
				fontBuilder = builder;
				tag.hasFont = true;
			}
			
			tag.useOutlines = useOutlines;
			tag.readOnly = readOnly;
			tag.noSelect = noSelect;
		}