我有一个问题。我有一个带有一些位图的skiasharp画布。这些位图存储在具有一些属性的Dictionary中。现在,我已经创建了一些东西来检测是否选择了位图,以及何时选择位图,我将字典中的位图键存储在名为// This should be performed at the point where you've
// checked out your sources on the agent. A 'git' executable
// must be available.
// Most typical, if you're not cloning into a sub directory
// and invoke this in the context of a directory with .git/
// Along with SHA-1 id of the commit, it will be useful to retrieve changeset associated with that commit
// This command results in output indicating several one of these and the affected files:
// Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R)
commitChangeset = sh(returnStdout: true, script: 'git diff-tree --no-commit-id --name-status -r HEAD').trim()
的变量中。现在我想在所选位图周围绘制一个矩形,但是我该怎么做呢?
为此,我需要知道位图的大小和坐标,但是可以在画布中移动和缩放位图。
有什么建议吗?