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