Share via


CGContext.SetLineWidth(nfloat) 方法

定义

设置笔划线的宽度。 该行向路径的任一侧延伸了一半 w

public void SetLineWidth (nfloat w);
member this.SetLineWidth : nfloat -> unit

参数

w
nfloat

线条宽度,以用户空间单位表示。

适用于