PDFTextStyle

public class PDFTextStyle : Hashable

TODO: Documentation

  • Name of style

    Declaration

    Swift

    public var name: String
  • Font of object

    Declaration

    Swift

    public var font: Font?
  • Text color of object

    Declaration

    Swift

    public var color: Color?
  • Initalizer

    Declaration

    Swift

    public init(name: String, font: Font? = nil, color: Color? = nil)

    Parameters

    name

    Name of style

    font

    Font of text, defaults to nil

    color

    Color of text, defaults to nil

Equatable

  • Declaration

    Swift

    public static func == (lhs: PDFTextStyle, rhs: PDFTextStyle) -> Bool

Hashable

  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)