CTFont.WithAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- matrix
- CGAffineTransform