我想用UIBezierPath
绘制一个倾斜的椭圆形。只有一种方法UIBezierPath.init(ovalInRect: rect)
可以绘制一个没有斜面的椭圆形。我可以做些什么来绘制它?感谢
答案 0 :(得分:4)
以下是旋转椭圆的示例:
#prompts user for input through cmd for path of log file
$log = Read-Host -Prompt 'Input path of log, if log does not, create one. Include file name and extension'
#prompts user for input through cmd, saves path, then recursively searches
$source = Read-Host -Prompt 'Input source path'
$source = gci $source -recurse
#prompts user for input through cmd, saves path, then recursively searches
$compare = Read-Host -Prompt 'Input the path of directory to compare'
$compare = gci $compare -recurse
#compares the $source to the $compare and outputs to log file
Compare-Object -ReferenceObject $source -DifferenceObject $compare -PassThru | Out-File $log -width 120
此处它正在Playground中运行: