共用方式為


NSStringDrawing_NSString.DrawInRect 方法

定義

多載

DrawInRect(NSString, CGRect, NSStringAttributes)
DrawInRect(NSString, CGRect, NSDictionary)

DrawInRect(NSString, CGRect, NSStringAttributes)

public static void DrawInRect (this Foundation.NSString This, CoreGraphics.CGRect rect, AppKit.NSStringAttributes attributes);
static member DrawInRect : Foundation.NSString * CoreGraphics.CGRect * AppKit.NSStringAttributes -> unit

參數

This
NSString
rect
CGRect
attributes
NSStringAttributes

適用於

DrawInRect(NSString, CGRect, NSDictionary)

[Foundation.Export("drawInRect:withAttributes:")]
public static void DrawInRect (this Foundation.NSString This, CoreGraphics.CGRect rect, Foundation.NSDictionary attributes);
static member DrawInRect : Foundation.NSString * CoreGraphics.CGRect * Foundation.NSDictionary -> unit

參數

This
NSString
rect
CGRect
attributes
NSDictionary
屬性

適用於