public EditText(LayerText layer, LayerText.TextCell cellToEdit, string newText, Font newFont, Color newColor, StringAlignment newAlignment) { mTextLayer = layer; mTextCell = cellToEdit; mOldText = cellToEdit.Text; mNewText = newText; mOldFont = cellToEdit.Font; mNewFont = newFont; mOldColor = cellToEdit.FontColor; mNewColor = newColor; mOldAlignment = cellToEdit.TextAlignment; mNewAlignment = newAlignment; }
public AddText(LayerText layer, string textToAdd, Font font, Color color, StringAlignment alignment, PointF position) { mTextLayer = layer; mTextCell = new LayerText.TextCell(textToAdd, font, color, alignment); mTextCell.Position = position; }