PDFStringAttribute
extension PDFStringAttribute
-
Style attributes for a comment
Declaration
Swift
static var commentLabel: PDFStringAttribute
-
Style attributes for the section label
Declaration
Swift
static var sectionLabel: PDFStringAttribute
-
Style attributes for the footer
Declaration
Swift
static var footer: PDFStringAttribute
-
String attributes for a plain line
Declaration
Swift
static var plainLine: PDFStringAttribute
-
String attributes for a textblock line
Declaration
Swift
static var textblockLine: PDFStringAttribute
-
Merge
PDFStringAttribute
‘sDeclaration
Swift
static func + (left: PDFStringAttribute, right: PDFStringAttribute) -> PDFStringAttribute
Parameters
left
Current
PDFStringAttribute
right
The
PDFStringAttribute
to addReturn Value
The merged
PDFStringAttribute
‘s
-
Note
Element specific styling is in its own file Style attributes for the default fontDeclaration
Swift
static var defaultFont: PDFStringAttribute
-
Style attributes for the small font
Declaration
Swift
static var smallFont: PDFStringAttribute
-
Style attributes for the title of the PDF
Declaration
Swift
static var pdfTitle: PDFStringAttribute
-
Style attributes for the subtitle of the PDF
Declaration
Swift
static var pdfSubtitle: PDFStringAttribute
-
Style attributes for the export title
Declaration
Swift
static var exportTitle: PDFStringAttribute
-
Style attributes for the export author
Declaration
Swift
static var exportAuthor: PDFStringAttribute
-
Style attributes for alignment of a paragraph
Declaration
Swift
static func alignment(_ alignment: NSTextAlignment) -> PDFStringAttribute
Parameters
alignment
The alignment
Return Value
A paragraph aligment style
-
Style attributes for a serif font style
Declaration
Swift
static var serifFont: PDFStringAttribute
-
Style attributes for the diagram chord name
Declaration
Swift
static var diagramChordName: PDFStringAttribute
-
Style attributes for the diagram finger
Declaration
Swift
static var diagramFinger: PDFStringAttribute
-
Style attributes for the diagram top bar
Declaration
Swift
static var diagramTopBar: PDFStringAttribute
-
Style attributes for the diagram base fret
Declaration
Swift
static var diagramBaseFret: PDFStringAttribute
-
Style attributes for the diagram top bar
Declaration
Swift
static var diagramBottomBar: PDFStringAttribute
-
String attributes for a grid line
Declaration
Swift
static var gridText: PDFStringAttribute
-
String attributes for a grid chord
Declaration
Swift
static var gridChord: PDFStringAttribute
-
Style attributes for the chord of the part
Declaration
Swift
static func partChord(_ status: Chord.Status) -> PDFStringAttribute
-
Style attributes for the lyric of the part
Declaration
Swift
static var partLyric: PDFStringAttribute
-
String attributes for a song detail icon
Declaration
Swift
static var songDetailIcon: PDFStringAttribute
-
String attributes for a song detail label
Declaration
Swift
static var songDetailLabel: PDFStringAttribute
-
String attributes for a strum line
Declaration
Swift
static var strumLine: PDFStringAttribute
-
Style attributes for the line of a tab
Declaration
Swift
static func tabLine(fontSize: CGFloat) -> PDFStringAttribute