CTFont.WithAttributes 方法

定义

重载

WithAttributes(nfloat, CTFontDescriptor)
WithAttributes(nfloat, CTFontDescriptor, CGAffineTransform)

WithAttributes(nfloat, CTFontDescriptor)

public CoreText.CTFont WithAttributes (nfloat size, CoreText.CTFontDescriptor attributes);
member this.WithAttributes : nfloat * CoreText.CTFontDescriptor -> CoreText.CTFont

参数

size
nfloat
attributes
CTFontDescriptor

返回

适用于

WithAttributes(nfloat, CTFontDescriptor, CGAffineTransform)

public CoreText.CTFont WithAttributes (nfloat size, CoreText.CTFontDescriptor attributes, ref CoreGraphics.CGAffineTransform matrix);
member this.WithAttributes : nfloat * CoreText.CTFontDescriptor *  -> CoreText.CTFont

参数

size
nfloat
attributes
CTFontDescriptor

返回

适用于