Kingfisher Documentation

Structure Rect​Corner

public struct RectCorner: OptionSet  

Represents the rect corner setting when processing a round corner image.

%7 RectCorner RectCorner OptionSet OptionSet RectCorner->OptionSet

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Creates a RectCorner option set with a given value.

Parameters

raw​Value Int

The value represents a certain corner option.

Properties

raw​Value

public let rawValue: Int

Raw value of the rect corner.

top​Left

public static let topLeft  

Represents the top left corner.

top​Right

public static let topRight  

Represents the top right corner.

bottom​Left

public static let bottomLeft  

Represents the bottom left corner.

bottom​Right

public static let bottomRight  

Represents the bottom right corner.

all

public static let all: RectCorner = [.topLeft, .topRight, .bottomLeft, .bottomRight] 

Represents all corners.