lineStyle
TypeScriptstatic lineStyle(name: string): PDFLineStyleSwift declarationclass func lineStyle(fromName name: String) -> PDFLineStyleclass · iOS 11.0+ · SDK 27.1
class PDFAnnotationstatic lineStyle(name: string): PDFLineStyleSwift declarationclass func lineStyle(fromName name: String) -> PDFLineStylestatic nameValue(style: PDFLineStyle): stringSwift declarationclass func name(for style: PDFLineStyle) -> Stringadd(path: _UIKit_UIBezierPath): voidSwift declarationfunc add(_ path: UIBezierPath)draw(box: PDFDisplayBox, context: _CoreGraphics_CGContext): voidSwift declarationfunc draw(with box: PDFDisplayBox, in context: CGContext)static init(bounds: { x: number; y: number; width: number; height: number }, annotationType: PDFAnnotationSubtype, properties?: (NativeMap<unknown, unknown>) | null): PDFAnnotationSwift declarationinit(bounds: CGRect, forType annotationType: PDFAnnotationSubtype, withProperties properties: [AnyHashable : Any]?)remove(path: _UIKit_UIBezierPath): voidSwift declarationfunc remove(_ path: UIBezierPath)removeValue(key: PDFAnnotationKey): voidSwift declarationfunc removeValue(forAnnotationKey key: PDFAnnotationKey)setBoolean(value: boolean, key: PDFAnnotationKey): booleanSwift declarationfunc setBoolean(_ value: Bool, forAnnotationKey key: PDFAnnotationKey) -> BoolsetRect(value: { x: number; y: number; width: number; height: number }, key: PDFAnnotationKey): booleanSwift declarationfunc setRect(_ value: CGRect, forAnnotationKey key: PDFAnnotationKey) -> BoolsetValue(value: unknown, key: PDFAnnotationKey): booleanSwift declarationfunc setValue(_ value: Any, forAnnotationKey key: PDFAnnotationKey) -> Boolvalue(key: PDFAnnotationKey): (unknown) | nullSwift declarationfunc value(forAnnotationKey key: PDFAnnotationKey) -> Any?get url(): (string) | nullSwift declarationvar url: URL? { get set }set url(value: (string) | null)Swift declarationvar url: URL? { get set }get action(): (PDFAction) | nullSwift declarationvar action: PDFAction? { get set }set action(value: (PDFAction) | null)Swift declarationvar action: PDFAction? { get set }get isActivatableTextField(): booleanSwift declarationvar isActivatableTextField: Bool { get }get alignment(): _UIKit_NSTextAlignmentSwift declarationvar alignment: NSTextAlignment { get set }set alignment(value: _UIKit_NSTextAlignment)Swift declarationvar alignment: NSTextAlignment { get set }get allowsToggleToOff(): booleanSwift declarationvar allowsToggleToOff: Bool { get set }set allowsToggleToOff(value: boolean)Swift declarationvar allowsToggleToOff: Bool { get set }get annotationKeyValues(): NativeMap<unknown, unknown>Swift declarationvar annotationKeyValues: [AnyHashable : Any] { get }get backgroundColor(): (_UIKit_UIColor) | nullSwift declaration@NSCopying var backgroundColor: UIColor? { get set }set backgroundColor(value: (_UIKit_UIColor) | null)Swift declaration@NSCopying var backgroundColor: UIColor? { get set }get border(): (PDFBorder) | nullSwift declarationvar border: PDFBorder? { get set }set border(value: (PDFBorder) | null)Swift declarationvar border: PDFBorder? { get set }get bounds(): { x: number; y: number; width: number; height: number }Swift declarationvar bounds: CGRect { get set }set bounds(value: { x: number; y: number; width: number; height: number })Swift declarationvar bounds: CGRect { get set }get buttonWidgetState(): PDFWidgetCellStateSwift declarationvar buttonWidgetState: PDFWidgetCellState { get set }set buttonWidgetState(value: PDFWidgetCellState)Swift declarationvar buttonWidgetState: PDFWidgetCellState { get set }get buttonWidgetStateString(): stringSwift declarationvar buttonWidgetStateString: String { get set }set buttonWidgetStateString(value: string)Swift declarationvar buttonWidgetStateString: String { get set }get caption(): (string) | nullSwift declarationvar caption: String? { get set }set caption(value: (string) | null)Swift declarationvar caption: String? { get set }get choices(): (Array<string>) | nullSwift declarationvar choices: [String]? { get set }set choices(value: (Array<string>) | null)Swift declarationvar choices: [String]? { get set }get color(): _UIKit_UIColorSwift declaration@NSCopying var color: UIColor { get set }set color(value: _UIKit_UIColor)Swift declaration@NSCopying var color: UIColor { get set }get hasComb(): booleanSwift declarationvar hasComb: Bool { get set }set hasComb(value: boolean)Swift declarationvar hasComb: Bool { get set }get contents(): (string) | nullSwift declarationvar contents: String? { get set }set contents(value: (string) | null)Swift declarationvar contents: String? { get set }get destination(): (PDFDestination) | nullSwift declarationvar destination: PDFDestination? { get set }set destination(value: (PDFDestination) | null)Swift declarationvar destination: PDFDestination? { get set }get endLineStyle(): PDFLineStyleSwift declarationvar endLineStyle: PDFLineStyle { get set }set endLineStyle(value: PDFLineStyle)Swift declarationvar endLineStyle: PDFLineStyle { get set }get endPoint(): { x: number; y: number }Swift declarationvar endPoint: CGPoint { get set }set endPoint(value: { x: number; y: number })Swift declarationvar endPoint: CGPoint { get set }get fieldName(): (string) | nullSwift declarationvar fieldName: String? { get set }set fieldName(value: (string) | null)Swift declarationvar fieldName: String? { get set }get font(): (_UIKit_UIFont) | nullSwift declaration@NSCopying var font: UIFont? { get set }set font(value: (_UIKit_UIFont) | null)Swift declaration@NSCopying var font: UIFont? { get set }get fontColor(): (_UIKit_UIColor) | nullSwift declaration@NSCopying var fontColor: UIColor? { get set }set fontColor(value: (_UIKit_UIColor) | null)Swift declaration@NSCopying var fontColor: UIColor? { get set }get hasAppearanceStream(): booleanSwift declarationvar hasAppearanceStream: Bool { get }get isHighlighted(): booleanSwift declarationvar isHighlighted: Bool { get set }set isHighlighted(value: boolean)Swift declarationvar isHighlighted: Bool { get set }get iconType(): PDFTextAnnotationIconTypeSwift declarationvar iconType: PDFTextAnnotationIconType { get set }set iconType(value: PDFTextAnnotationIconType)Swift declarationvar iconType: PDFTextAnnotationIconType { get set }get interiorColor(): (_UIKit_UIColor) | nullSwift declaration@NSCopying var interiorColor: UIColor? { get set }set interiorColor(value: (_UIKit_UIColor) | null)Swift declaration@NSCopying var interiorColor: UIColor? { get set }get isPasswordField(): booleanSwift declarationvar isPasswordField: Bool { get }get isListChoice(): booleanSwift declarationvar isListChoice: Bool { get set }set isListChoice(value: boolean)Swift declarationvar isListChoice: Bool { get set }get markupType(): PDFMarkupTypeSwift declarationvar markupType: PDFMarkupType { get set }set markupType(value: PDFMarkupType)Swift declarationvar markupType: PDFMarkupType { get set }get maximumLength(): numberSwift declarationvar maximumLength: Int { get set }set maximumLength(value: number)Swift declarationvar maximumLength: Int { get set }get modificationDate(): (globalThis.Date) | nullSwift declarationvar modificationDate: Date? { get set }set modificationDate(value: (globalThis.Date) | null)Swift declarationvar modificationDate: Date? { get set }get isMultiline(): booleanSwift declarationvar isMultiline: Bool { get set }set isMultiline(value: boolean)Swift declarationvar isMultiline: Bool { get set }get isOpen(): booleanSwift declarationvar isOpen: Bool { get set }set isOpen(value: boolean)Swift declarationvar isOpen: Bool { get set }get page(): (PDFPage) | nullSwift declarationweak var page: PDFPage? { get set }set page(value: (PDFPage) | null)Swift declarationweak var page: PDFPage? { get set }get paths(): (Array<_UIKit_UIBezierPath>) | nullSwift declarationvar paths: [UIBezierPath]? { get }get popup(): (PDFAnnotation) | nullSwift declarationvar popup: PDFAnnotation? { get set }set popup(value: (PDFAnnotation) | null)Swift declarationvar popup: PDFAnnotation? { get set }get quadrilateralPoints(): (Array<_Foundation_NSValue>) | nullSwift declarationvar quadrilateralPoints: [NSValue]? { get set }set quadrilateralPoints(value: (Array<_Foundation_NSValue>) | null)Swift declarationvar quadrilateralPoints: [NSValue]? { get set }get radiosInUnison(): booleanSwift declarationvar radiosInUnison: Bool { get set }set radiosInUnison(value: boolean)Swift declarationvar radiosInUnison: Bool { get set }get isReadOnly(): booleanSwift declarationvar isReadOnly: Bool { get set }set isReadOnly(value: boolean)Swift declarationvar isReadOnly: Bool { get set }get shouldDisplay(): booleanSwift declarationvar shouldDisplay: Bool { get set }set shouldDisplay(value: boolean)Swift declarationvar shouldDisplay: Bool { get set }get shouldPrint(): booleanSwift declarationvar shouldPrint: Bool { get set }set shouldPrint(value: boolean)Swift declarationvar shouldPrint: Bool { get set }get stampName(): (string) | nullSwift declarationvar stampName: String? { get set }set stampName(value: (string) | null)Swift declarationvar stampName: String? { get set }get startLineStyle(): PDFLineStyleSwift declarationvar startLineStyle: PDFLineStyle { get set }set startLineStyle(value: PDFLineStyle)Swift declarationvar startLineStyle: PDFLineStyle { get set }get startPoint(): { x: number; y: number }Swift declarationvar startPoint: CGPoint { get set }set startPoint(value: { x: number; y: number })Swift declarationvar startPoint: CGPoint { get set }get type(): (string) | nullSwift declarationvar type: String? { get set }set type(value: (string) | null)Swift declarationvar type: String? { get set }get userName(): (string) | nullSwift declarationvar userName: String? { get set }set userName(value: (string) | null)Swift declarationvar userName: String? { get set }get values(): (Array<string>) | nullSwift declarationvar values: [String]? { get set }set values(value: (Array<string>) | null)Swift declarationvar values: [String]? { get set }get widgetControlType(): PDFWidgetControlTypeSwift declarationvar widgetControlType: PDFWidgetControlType { get set }set widgetControlType(value: PDFWidgetControlType)Swift declarationvar widgetControlType: PDFWidgetControlType { get set }get widgetDefaultStringValue(): (string) | nullSwift declarationvar widgetDefaultStringValue: String? { get set }set widgetDefaultStringValue(value: (string) | null)Swift declarationvar widgetDefaultStringValue: String? { get set }get widgetFieldType(): PDFAnnotationWidgetSubtypeSwift declarationvar widgetFieldType: PDFAnnotationWidgetSubtype { get set }set widgetFieldType(value: PDFAnnotationWidgetSubtype)Swift declarationvar widgetFieldType: PDFAnnotationWidgetSubtype { get set }get widgetStringValue(): (string) | nullSwift declarationvar widgetStringValue: String? { get set }set widgetStringValue(value: (string) | null)Swift declarationvar widgetStringValue: String? { get set }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PDFAnnotation.init()
inherited init: cannot prove legal (class declares 1 custom initializer)