PDFLineStyle
public struct PDFLineStyle : Hashable
Structure defining how a line should be drawn into graphics context
-
Type of the line
Declaration
Swift
public var type: PDFLineType
-
Color of the line
Declaration
Swift
public var color: Color
-
Width of the line
Declaration
Swift
public var width: CGFloat
-
Defines the width of this radius (Only for rect draw, not for line)
Declaration
Swift
public var radius: CGFloat?
-
nodoc
Declaration
Swift
public static func == (lhs: PDFLineStyle, rhs: PDFLineStyle) -> Bool
-
nodoc
Declaration
Swift
public func hash(into hasher: inout Hasher)
-
Shorthand method for creating an invisible line
Declaration
Swift
static var none: PDFLineStyle { get }