public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("vector"); writer.WriteString("{"); writer.Write(X); writer.WriteSpace(); writer.Write(Y); writer.WriteString("}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("region"); writer.WriteString("{"); writer.WriteString($"{X1} {Y1} {X2} {Y2}"); writer.WriteString("}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("string"); writer.WriteString("{\""); writer.WriteString(String); writer.WriteString("\"}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("rectangle"); writer.WriteString("{"); writer.WriteString($"{X} {Y} {Width} {Height}"); writer.WriteString("}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { if (Name != null) { writer.WriteString(Name); writer.WriteSpace(); } writer.WriteString("RGBA"); writer.WriteString("{"); writer.WriteString($"{R} {G} {B} {A}"); writer.WriteString("}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { if (Name != null) { writer.WriteString(Name); writer.WriteSpace(); } writer.WriteString("color_name"); writer.WriteString("{\""); writer.WriteString(ColorName); writer.WriteString("\"}"); writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("digit"); writer.WriteString("{"); writer.WriteString(Value.ToString()); writer.WriteString("}"); if (writer.Debug) { writer.WriteString(" // mShort"); } writer.SetNeedNewLine(); }
public override void WriteText(MTextWriter writer) { writer.WriteString(Name); writer.WriteSpace(); writer.WriteString("digit"); writer.WriteString("{"); writer.WriteString(Value.ToString(CultureInfo.InvariantCulture)); writer.WriteString("}"); if (writer.Debug) { writer.WriteString(" // mFloat"); } writer.SetNeedNewLine(); }