Contents

transferRepresentation

One group of colors–constant colors–created with explicitly specified component values are transferred as is.

Declaration

static var transferRepresentation: some TransferRepresentation { get }

Discussion

Another group of colors–standard colors, like Color.mint, and semantic colors, like Color.accentColor–are rendered on screen differently depending on the current Environment. For transferring, they are resolved against the default environment and might produce a slightly different result at the destination if the source of drag or copy uses a non-default environment.