Nuke Documentation

Structure Image​Processing​Options.​Border

public struct Border: Hashable, CustomStringConvertible  

Draws a border.

ImageProcessingOptions.Border ImageProcessingOptions.Border CustomStringConvertible CustomStringConvertible ImageProcessingOptions.Border->CustomStringConvertible Hashable Hashable ImageProcessingOptions.Border->Hashable

Member Of

ImageProcessingOptions

A namespace with shared image processing options.

Conforms To

CustomStringConvertible
Hashable

Initializers

init(color:​width:​unit:​)

public init(color: UIColor, width: CGFloat = 1, unit: Unit = .points)  
  • parameter color: Border color.
  • parameter width: Border width. 1 points by default.
  • parameter unit: Unit of the width, .points by default.

init(color:​width:​unit:​)

public init(color: NSColor, width: CGFloat = 1, unit: Unit = .points)  
  • parameter color: Border color.
  • parameter width: Border width. 1 points by default.
  • parameter unit: Unit of the width, .points by default.

Properties

width

public let width: CGFloat

color

public let color: UIColor

color

public let color: NSColor

description

public var description: String