mirror of
https://gitee.com/csharpui/CPF.git
synced 2026-08-28 11:37:04 +08:00
初始化
This commit is contained in:
30
CPF.Mac/Mac/CoreText/CTFontVariation.cs
Normal file
30
CPF.Mac/Mac/CoreText/CTFontVariation.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using CPF.Mac.Foundation;
|
||||
using CPF.Mac.ObjCRuntime;
|
||||
using System;
|
||||
|
||||
namespace CPF.Mac.CoreText
|
||||
{
|
||||
[Since(3, 2)]
|
||||
public class CTFontVariation
|
||||
{
|
||||
public NSDictionary Dictionary
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public CTFontVariation()
|
||||
: this(new NSMutableDictionary())
|
||||
{
|
||||
}
|
||||
|
||||
public CTFontVariation(NSDictionary dictionary)
|
||||
{
|
||||
if (dictionary == null)
|
||||
{
|
||||
throw new ArgumentNullException("dictionary");
|
||||
}
|
||||
Dictionary = dictionary;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user