OSDN Git Service

ナレーター実行時にフォーカスがずれるバグを修正した
[fooeditengine/FooEditEngine.git] / Core / ITextRender.cs
index a269220..2edef63 100644 (file)
@@ -72,6 +72,13 @@ namespace FooEditEngine
             this.Y *= scale;
             return this;
         }
+
+        public Point Offset(double x_offset, double y_offset)
+        {
+            this.X += x_offset;
+            this.Y += y_offset;
+            return this;
+        }
 #if WINFORM
         public static implicit operator Point(System.Drawing.Point p)
         {