|
@@ -339,6 +339,25 @@ namespace ComPDFKit.Tool.DrawTool
|
|
|
return (float)(drawRect.Height / drawDefaultRect.Height);
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Multiple selection of movement distance
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ public float GetChangeX()
|
|
|
+ {
|
|
|
+ return (float)(drawRect.Width - drawDefaultRect.Width);
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Multiple selection of movement distance
|
|
|
+ /// </summary>
|
|
|
+ /// <returns></returns>
|
|
|
+ public float GetChangeY()
|
|
|
+ {
|
|
|
+ return (float)(drawRect.Height - drawDefaultRect.Height);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
public void Draw()
|
|
|
{
|
|
|
switch (currentDrawType)
|