コード例 #1
0
 void Text_TouchUpInside(object sender, EventArgs e)
 {
     settings        = null;
     isPath          = false;
     isReset         = false;
     isUndo          = false;
     isRedo          = false;
     isRect          = false;
     isText          = true;
     RightView.Alpha = 1;
     sfImageEditor.AddText("Text", new TextSettings());
 }
コード例 #2
0
 void AddShapes()
 {
     if (isRect)
     {
         editor.AddShape(Syncfusion.SfImageEditor.Android.ShapeType.Rectangle, new PenSettings());
         isRect = true;
         isText = false;
         isPath = false;
     }
     else if (isText)
     {
         editor.AddText("Enter Text", new TextSettings());
         isRect = false;
         isText = true;
         isPath = false;
     }
 }