Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }