Class PTColorDefaults
Inheritance
System.Object
PTColorDefaults
Assembly: Tools.dll
public class PTColorDefaults : NSObject
Constructors
Declaration
Declaration
protected PTColorDefaults(NSObjectFlag t)
Parameters
| Type |
Name |
Description |
| Foundation.NSObjectFlag |
t |
|
Declaration
protected PTColorDefaults(NativeHandle handle)
Parameters
| Type |
Name |
Description |
| ObjCRuntime.NativeHandle |
handle |
|
Properties
Declaration
public override NativeHandle ClassHandle { get; }
Property Value
| Type |
Description |
| ObjCRuntime.NativeHandle |
|
Declaration
public static UIColor[] DefaultColorPickerColors { get; set; }
Property Value
| Type |
Description |
| UIKit.UIColor[] |
|
Declaration
public static string DefaultCountGroupLabel { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DefaultFreeTextSize
Declaration
public static double DefaultFreeTextSize { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
DefaultFreeTextVerticalAlignment
Declaration
public static IntPtr DefaultFreeTextVerticalAlignment { get; set; }
Property Value
| Type |
Description |
| System.IntPtr |
|
Declaration
public static UIColor[] HighlightColorPickerColors { get; set; }
Property Value
| Type |
Description |
| UIKit.UIColor[] |
|
Methods
Declaration
public static PTColorPt ColorPtFromUIColor(UIColor uiColor)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
uiColor |
|
Returns
DefaultBorderEffectForAnnotType(PTExtendedAnnotType)
Declaration
public static PTBorderEffect DefaultBorderEffectForAnnotType(PTExtendedAnnotType type)
Parameters
Returns
DefaultBorderEffectIntensityForAnnotType(PTExtendedAnnotType)
Declaration
public static double DefaultBorderEffectIntensityForAnnotType(PTExtendedAnnotType type)
Parameters
Returns
| Type |
Description |
| System.Double |
|
DefaultBorderThicknessForAnnotType(PTExtendedAnnotType)
Declaration
public static double DefaultBorderThicknessForAnnotType(PTExtendedAnnotType type)
Parameters
Returns
| Type |
Description |
| System.Double |
|
DefaultColorForAnnotType(PTExtendedAnnotType, String, ColorPostProcessMode)
Declaration
public static UIColor DefaultColorForAnnotType(PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
Returns
| Type |
Description |
| UIKit.UIColor |
|
DefaultColorPtForAnnotType(PTExtendedAnnotType, String, ColorPostProcessMode)
Declaration
public static PTColorPt DefaultColorPtForAnnotType(PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
Returns
Declaration
public static NSArray DefaultDashEffect(double width)
Parameters
| Type |
Name |
Description |
| System.Double |
width |
|
Returns
| Type |
Description |
| Foundation.NSArray |
|
DefaultDateTextFormat()
Declaration
public static string DefaultDateTextFormat()
Returns
| Type |
Description |
| System.String |
|
DefaultFreeTextFontName()
Declaration
public static string DefaultFreeTextFontName()
Returns
| Type |
Description |
| System.String |
|
DefaultFreeTextFontNameForAnnotType(PTExtendedAnnotType)
Declaration
public static string DefaultFreeTextFontNameForAnnotType(PTExtendedAnnotType annotType)
Parameters
Returns
| Type |
Description |
| System.String |
|
DefaultFreeTextHorizontalAlignment()
Declaration
public static IntPtr DefaultFreeTextHorizontalAlignment()
Returns
| Type |
Description |
| System.IntPtr |
|
DefaultFreeTextSizeForAnnotType(PTExtendedAnnotType)
Declaration
public static double DefaultFreeTextSizeForAnnotType(PTExtendedAnnotType annotType)
Parameters
Returns
| Type |
Description |
| System.Double |
|
DefaultLineEndStyles(PTExtendedAnnotType)
Declaration
public static NSNumber[] DefaultLineEndStyles(PTExtendedAnnotType type)
Parameters
Returns
| Type |
Description |
| Foundation.NSNumber[] |
|
DefaultMeasurementScaleForAnnotType(PTExtendedAnnotType)
Declaration
public static PTMeasurementScale DefaultMeasurementScaleForAnnotType(PTExtendedAnnotType type)
Parameters
Returns
DefaultOpacityForAnnotType(PTExtendedAnnotType)
Declaration
public static double DefaultOpacityForAnnotType(PTExtendedAnnotType type)
Parameters
Returns
| Type |
Description |
| System.Double |
|
DefaultStrokeStyle(PTExtendedAnnotType)
Declaration
public static PTStrokeStyle DefaultStrokeStyle(PTExtendedAnnotType type)
Parameters
Returns
NumCompsInColorPtForAnnotType(PTExtendedAnnotType, String)
Declaration
public static int NumCompsInColorPtForAnnotType(PTExtendedAnnotType type, string attribute)
Parameters
Returns
| Type |
Description |
| System.Int32 |
|
Declaration
public static int NumCompsInColorPtForUIColor(UIColor color)
Parameters
| Type |
Name |
Description |
| UIKit.UIColor |
color |
|
Returns
| Type |
Description |
| System.Int32 |
|
SetDefaultBorderEffect(PTBorderEffect, PTExtendedAnnotType)
Declaration
public static void SetDefaultBorderEffect(PTBorderEffect borderEffect, PTExtendedAnnotType type)
Parameters
SetDefaultBorderEffectIntensity(Double, PTExtendedAnnotType)
Declaration
public static void SetDefaultBorderEffectIntensity(double borderEffectIntensity, PTExtendedAnnotType type)
Parameters
SetDefaultBorderThickness(Double, PTExtendedAnnotType)
Declaration
public static void SetDefaultBorderThickness(double thickness, PTExtendedAnnotType type)
Parameters
SetDefaultColor(UIColor, PTExtendedAnnotType, String, ColorPostProcessMode)
Declaration
public static void SetDefaultColor(UIColor color, PTExtendedAnnotType type, string attribute, ColorPostProcessMode mode)
Parameters
SetDefaultDateTextFormat(String)
Declaration
public static void SetDefaultDateTextFormat(string format)
Parameters
| Type |
Name |
Description |
| System.String |
format |
|
SetDefaultFreeTextFontName(String)
Declaration
public static void SetDefaultFreeTextFontName(string fontName)
Parameters
| Type |
Name |
Description |
| System.String |
fontName |
|
SetDefaultFreeTextFontName(String, PTExtendedAnnotType)
Declaration
public static void SetDefaultFreeTextFontName(string fontName, PTExtendedAnnotType type)
Parameters
SetDefaultFreeTextHorizontalAlignment(IntPtr)
Declaration
public static void SetDefaultFreeTextHorizontalAlignment(IntPtr horizontalAlignment)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
horizontalAlignment |
|
SetDefaultFreeTextSize(Double, PTExtendedAnnotType)
Declaration
public static void SetDefaultFreeTextSize(double size, PTExtendedAnnotType type)
Parameters
SetDefaultLineEndStyles(NSNumber[], PTExtendedAnnotType)
Declaration
public static void SetDefaultLineEndStyles(NSNumber[] lineEndStyles, PTExtendedAnnotType type)
Parameters
SetDefaultMeasurementScale(PTMeasurementScale, PTExtendedAnnotType)
Declaration
public static void SetDefaultMeasurementScale(PTMeasurementScale measurementScale, PTExtendedAnnotType type)
Parameters
SetDefaultOpacity(Double, PTExtendedAnnotType)
Declaration
public static void SetDefaultOpacity(double opacity, PTExtendedAnnotType type)
Parameters
SetDefaultStrokeStyle(PTStrokeStyle, PTExtendedAnnotType)
Declaration
public static void SetDefaultStrokeStyle(PTStrokeStyle strokeStyle, PTExtendedAnnotType type)
Parameters
Declaration
public static UIColor UiColorFromColorPt(PTColorPt colorpt, int compNum)
Parameters
| Type |
Name |
Description |
| PTColorPt |
colorpt |
|
| System.Int32 |
compNum |
|
Returns
| Type |
Description |
| UIKit.UIColor |
|