Share via


CGContext.StrokeRectWithWidth(CGRect, nfloat) 方法

定义

笔划 。rect 线的一 width 半延伸到外围的任一 rect 侧。

public void StrokeRectWithWidth (CoreGraphics.CGRect rect, nfloat width);
member this.StrokeRectWithWidth : CoreGraphics.CGRect * nfloat -> unit

参数

rect
CGRect

要笔划的矩形。

width
nfloat

笔划线的宽度(以用户空间单位为单位)。

适用于