Class SfUtils
Inheritance
System.Object
SfUtils
Assembly: Syncfusion.Core.XForms.macOS.dll
public static class SfUtils : Object
Methods
Declaration
public static NSColor ColorWithAlpha(this NSColor color, nfloat alpha)
Parameters
Type |
Name |
Description |
AppKit.NSColor |
color |
|
System.nfloat |
alpha |
|
Returns
Declaration
public static void DrawString(this NSString str, CGPoint point, NSStringAttributes attributes)
Parameters
Type |
Name |
Description |
Foundation.NSString |
str |
|
CoreGraphics.CGPoint |
point |
|
AppKit.NSStringAttributes |
attributes |
|
Declaration
public static CGSize GetSizeUsingAttributes(this NSString str, NSStringAttributes attributes)
Parameters
Type |
Name |
Description |
Foundation.NSString |
str |
|
AppKit.NSStringAttributes |
attributes |
|
Returns
Declaration
public static CGRect InsetRect(this NSEdgeInsets edgeInsets, CGRect rect)
Parameters
Type |
Name |
Description |
AppKit.NSEdgeInsets |
edgeInsets |
|
CoreGraphics.CGRect |
rect |
|
Returns
Declaration
public static CGSize StringSize(this NSString str, NSFont font)
Parameters
Type |
Name |
Description |
Foundation.NSString |
str |
|
AppKit.NSFont |
font |
|
Returns
Declaration
public static CGSize StringSize(this string str, NSFont font)
Parameters
Type |
Name |
Description |
System.String |
str |
|
AppKit.NSFont |
font |
|
Returns