Content
struct Content : Codable, Equatable, Sendable
Insets that describe the stretchable area of the image.
-
Left inset.
Declaration
Swift
public var left: Double -
Top inset.
Declaration
Swift
public var top: Double -
Right inset.
Declaration
Swift
public var right: Double -
Bottom inset.
Declaration
Swift
public var bottom: Double -
Creates a new content inset definition.
Declaration
Swift
public init(left: Double, top: Double, right: Double, bottom: Double)Parameters
leftLeft inset.
topTop inset.
rightRight inset.
bottomBottom inset.
-
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Declaration
Swift
public init(from decoder: Decoder) throws